On Tue, 2019-04-09 at 16:10 +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc > head: 523c106ad4b186f1f869accf24be35c370f5e611 > commit: 523c106ad4b186f1f869accf24be35c370f5e611 [192/192] scsi: tcm_qla2xxx: > Minimize #include directives > config: sparc64-allyesconfig (attached as .config) > compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 523c106ad4b186f1f869accf24be35c370f5e611 > # save the attached .config to linux build tree > GCC_VERSION=7.2.0 make.cross ARCH=sparc64 > > All error/warnings (new ones prefixed by >>): > > drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport': > > > drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of > > > function 'vzalloc'; did you mean 'kvzalloc'? > > > [-Werror=implicit-function-declaration] > > vzalloc(array_size(65536, > ^~~~~~~ > kvzalloc > > > drivers/scsi/qla2xxx/tcm_qla2xxx.c:1613:26: warning: assignment makes > > > pointer from integer without a cast [-Wint-conversion] > > lport->lport_loopid_map = > ^ > drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_make_lport': > > > drivers/scsi/qla2xxx/tcm_qla2xxx.c:1677:2: error: implicit declaration of > > > function 'vfree'; did you mean 'kvfree'? > > > [-Werror=implicit-function-declaration] > > vfree(lport->lport_loopid_map); > ^~~~~ > kvfree > cc1: some warnings being treated as errors
A candidate fix has been sent to the build bot. I'm waiting for test results. See also https://github.com/bvanassche/linux/commit/9130067acfaccaba3573914f916624127c04db29 Bart.