* [zen-kernel-zen-kernel:5.11/zen-sauce 2/24] drivers/scsi/vhba/vhba.c:483:15: error: no previous prototype for 'vhba_queuecommand'
@ 2021-02-16 0:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-16 0:51 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1931 bytes --]
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/4680ef2eb0d9e5e2b7e3db865bb98c1deb7aa2fa
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@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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21066 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-16 0:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 0:51 [zen-kernel-zen-kernel:5.11/zen-sauce 2/24] drivers/scsi/vhba/vhba.c:483:15: error: no previous prototype for 'vhba_queuecommand' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.