Re: [scsi:misc 192/192] drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-04-09 at 16:10 +-0800, kbuild test robot wrote:
+AD4 tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc
+AD4 head:   523c106ad4b186f1f869accf24be35c370f5e611
+AD4 commit: 523c106ad4b186f1f869accf24be35c370f5e611 +AFs-192/192+AF0 scsi: tcm+AF8-qla2xxx: Minimize +ACM-include directives
+AD4 config: sparc64-allyesconfig (attached as .config)
+AD4 compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
+AD4 reproduce:
+AD4         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O +AH4-/bin/make.cross
+AD4         chmod +-x +AH4-/bin/make.cross
+AD4         git checkout 523c106ad4b186f1f869accf24be35c370f5e611
+AD4         +ACM save the attached .config to linux build tree
+AD4         GCC+AF8-VERSION+AD0-7.2.0 make.cross ARCH+AD0-sparc64 
+AD4 
+AD4 All error/warnings (new ones prefixed by +AD4APg):
+AD4 
+AD4    drivers/scsi/qla2xxx/tcm+AF8-qla2xxx.c: In function 'tcm+AF8-qla2xxx+AF8-init+AF8-lport':
+AD4 +AD4 +AD4 drivers/scsi/qla2xxx/tcm+AF8-qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'+ADs did you mean 'kvzalloc'? +AFs--Werror+AD0-implicit-function-declaration+AF0
+AD4 
+AD4       vzalloc(array+AF8-size(65536,
+AD4       +AF4AfgB+AH4AfgB+AH4
+AD4       kvzalloc
+AD4 +AD4 +AD4 drivers/scsi/qla2xxx/tcm+AF8-qla2xxx.c:1613:26: warning: assignment makes pointer from integer without a cast +AFs--Wint-conversion+AF0
+AD4 
+AD4      lport-+AD4-lport+AF8-loopid+AF8-map +AD0
+AD4                              +AF4
+AD4    drivers/scsi/qla2xxx/tcm+AF8-qla2xxx.c: In function 'tcm+AF8-qla2xxx+AF8-make+AF8-lport':
+AD4 +AD4 +AD4 drivers/scsi/qla2xxx/tcm+AF8-qla2xxx.c:1677:2: error: implicit declaration of function 'vfree'+ADs did you mean 'kvfree'? +AFs--Werror+AD0-implicit-function-declaration+AF0
+AD4 
+AD4      vfree(lport-+AD4-lport+AF8-loopid+AF8-map)+ADs
+AD4      +AF4AfgB+AH4Afg
+AD4      kvfree
+AD4    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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux