tree:
https://github.com/zen-kernel/zen-kernel 5.11/zen-sauce
head: 791993e1c1fd68c5c05295efabebb8b4b3579f3a
commit: 4680ef2eb0d9e5e2b7e3db865bb98c1deb7aa2fa [2/24] ZEN: Add VHBA driver
config: nios2-randconfig-r015-20210216 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/zen-kernel/zen-kernel/commit/4680ef2eb0d9e5e2b7e3db865...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.11/zen-sauce
git checkout 4680ef2eb0d9e5e2b7e3db865bb98c1deb7aa2fa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/scsi/vhba/vhba.c:42:
> drivers/scsi/vhba/vhba.c:483:15: error: no previous prototype for
'vhba_queuecommand' [-Werror=missing-prototypes]
483 |
DEF_SCSI_QCMD(vhba_queuecommand)
| ^~~~~~~~~~~~~~~~~
include/scsi/scsi_host.h:498:6: note: in definition of macro 'DEF_SCSI_QCMD'
498 | int func_name(struct Scsi_Host *shost, struct scsi_cmnd *cmd) \
| ^~~~~~~~~
cc1: all warnings being treated as errors
vim +/vhba_queuecommand +483 drivers/scsi/vhba/vhba.c
481
482 #ifdef DEF_SCSI_QCMD
483 DEF_SCSI_QCMD(vhba_queuecommand)
484 #else
485 #define vhba_queuecommand vhba_queuecommand_lck
486 #endif
487
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org