tree:
https://github.com/zen-kernel/zen-kernel 5.9/zen-sauce
head: a49dc684580cbc31949bfc4220f8ed5346382c49
commit: a92a46922967aacc6f55007b1cd6eb966c076265 [2/24] ZEN: Add VHBA driver
config: arm-randconfig-r025-20201013 (attached as .config)
compiler: arm-linux-gnueabi-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/a92a46922967aacc6f55007b1...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.9/zen-sauce
git checkout a92a46922967aacc6f55007b1cd6eb966c076265
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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:495:6: note: in definition of macro 'DEF_SCSI_QCMD'
495 | 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