From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.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'?
Date: Thu, 11 Nov 2021 03:06:36 +0800 [thread overview]
Message-ID: <202111110329.c3RMVCBh-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2866 bytes --]
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@intel.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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 68943 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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'?
Date: Thu, 11 Nov 2021 03:06:36 +0800 [thread overview]
Message-ID: <202111110329.c3RMVCBh-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68943 bytes --]
next reply other threads:[~2021-11-10 19:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 19:06 kernel test robot [this message]
2021-11-10 19:06 ` [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'? kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111110329.c3RMVCBh-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.