[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111110329.c3RMVCBh-lkp@intel.com>
Date: Thu, 11 Nov 2021 03:06:36 +0800
From: kernel test robot <lkp@...el.com>
To: Bart Van Assche <bvanassche@....org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [bvanassche:scsi-for-next 1/2] drivers/scsi/qedf/qedf_main.c:989:35:
error: 'qedf_host_attr_groups' undeclared here (not in a function); did you
mean 'qedf_host_attrs'?
tree: https://github.com/bvanassche/linux scsi-for-next
head: 3d4f1af1fe85f0f2cc435ea177d25f9bad454965
commit: 983ecfd3c8e1418e0bd073bac176b8065ec619fd [1/2] scsi: Register SCSI host sysfs attributes earlier
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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/bvanassche/linux/commit/983ecfd3c8e1418e0bd073bac176b8065ec619fd
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-for-next
git checkout 983ecfd3c8e1418e0bd073bac176b8065ec619fd
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/gpu/drm/ drivers/net/wireless/ drivers/pci/ drivers/scsi/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/scsi/qedf/qedf_main.c:989:35: error: 'qedf_host_attr_groups' undeclared here (not in a function); did you mean 'qedf_host_attrs'?
989 | .shost_attr_groups = qedf_host_attr_groups,
| ^~~~~~~~~~~~~~~~~~~~~
| qedf_host_attrs
--
>> drivers/scsi/qedi/qedi_iscsi.c:61:30: error: 'qedi_shost_attr_groups' undeclared here (not in a function); did you mean 'qedi_shost_attrs'?
61 | .shost_attr_groups = qedi_shost_attr_groups,
| ^~~~~~~~~~~~~~~~~~~~~~
| qedi_shost_attrs
vim +989 drivers/scsi/qedf/qedf_main.c
981
982 static struct scsi_host_template qedf_host_template = {
983 .module = THIS_MODULE,
984 .name = QEDF_MODULE_NAME,
985 .this_id = -1,
986 .cmd_per_lun = 32,
987 .max_sectors = 0xffff,
988 .queuecommand = qedf_queuecommand,
> 989 .shost_attr_groups = qedf_host_attr_groups,
990 .eh_abort_handler = qedf_eh_abort,
991 .eh_device_reset_handler = qedf_eh_device_reset, /* lun reset */
992 .eh_target_reset_handler = qedf_eh_target_reset, /* target reset */
993 .eh_host_reset_handler = qedf_eh_host_reset,
994 .slave_configure = qedf_slave_configure,
995 .dma_boundary = QED_HW_DMA_BOUNDARY,
996 .sg_tablesize = QEDF_MAX_BDS_PER_CMD,
997 .can_queue = FCOE_PARAMS_NUM_TASKS,
998 .change_queue_depth = scsi_change_queue_depth,
999 };
1000
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (68943 bytes)
Powered by blists - more mailing lists