All of lore.kernel.org
 help / color / mirror / Atom feed
* [bvanassche:scsi-for-next 2/2] drivers/scsi/smartpqi/smartpqi_init.c:6952:22: error: 'pqi_sdev_attr_groups' undeclared here (not in a function); did you mean 'pqi_shost_attr_groups'?
@ 2021-10-01 14:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-01 14:04 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2357 bytes --]

tree:   https://github.com/bvanassche/linux scsi-for-next
head:   3d4f1af1fe85f0f2cc435ea177d25f9bad454965
commit: 3d4f1af1fe85f0f2cc435ea177d25f9bad454965 [2/2] scsi: Register SCSI device sysfs attributes earlier
config: x86_64-randconfig-r036-20211001 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/bvanassche/linux/commit/3d4f1af1fe85f0f2cc435ea177d25f9bad454965
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-for-next
        git checkout 3d4f1af1fe85f0f2cc435ea177d25f9bad454965
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/smartpqi/

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/smartpqi/smartpqi_init.c:6952:22: error: 'pqi_sdev_attr_groups' undeclared here (not in a function); did you mean 'pqi_shost_attr_groups'?
    6952 |  .sdev_attr_groups = pqi_sdev_attr_groups,
         |                      ^~~~~~~~~~~~~~~~~~~~
         |                      pqi_shost_attr_groups
   drivers/scsi/smartpqi/smartpqi_init.c:6927:26: warning: 'pqi_sdev_attrs' defined but not used [-Wunused-variable]
    6927 | static struct attribute *pqi_sdev_attrs[] = {
         |                          ^~~~~~~~~~~~~~


vim +6952 drivers/scsi/smartpqi/smartpqi_init.c

  6937	
  6938	static struct scsi_host_template pqi_driver_template = {
  6939		.module = THIS_MODULE,
  6940		.name = DRIVER_NAME_SHORT,
  6941		.proc_name = DRIVER_NAME_SHORT,
  6942		.queuecommand = pqi_scsi_queue_command,
  6943		.scan_start = pqi_scan_start,
  6944		.scan_finished = pqi_scan_finished,
  6945		.this_id = -1,
  6946		.eh_device_reset_handler = pqi_eh_device_reset_handler,
  6947		.ioctl = pqi_ioctl,
  6948		.slave_alloc = pqi_slave_alloc,
  6949		.slave_configure = pqi_slave_configure,
  6950		.slave_destroy = pqi_slave_destroy,
  6951		.map_queues = pqi_map_queues,
> 6952		.sdev_attr_groups = pqi_sdev_attr_groups,
  6953		.shost_attr_groups = pqi_shost_attr_groups,
  6954	};
  6955	

---
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: 40733 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bvanassche:scsi-for-next 2/2] drivers/scsi/smartpqi/smartpqi_init.c:6952:22: error: 'pqi_sdev_attr_groups' undeclared here (not in a function); did you mean 'pqi_shost_attr_groups'?
@ 2021-10-01 14:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-01 14:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2412 bytes --]

tree:   https://github.com/bvanassche/linux scsi-for-next
head:   3d4f1af1fe85f0f2cc435ea177d25f9bad454965
commit: 3d4f1af1fe85f0f2cc435ea177d25f9bad454965 [2/2] scsi: Register SCSI device sysfs attributes earlier
config: x86_64-randconfig-r036-20211001 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/bvanassche/linux/commit/3d4f1af1fe85f0f2cc435ea177d25f9bad454965
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-for-next
        git checkout 3d4f1af1fe85f0f2cc435ea177d25f9bad454965
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/smartpqi/

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/smartpqi/smartpqi_init.c:6952:22: error: 'pqi_sdev_attr_groups' undeclared here (not in a function); did you mean 'pqi_shost_attr_groups'?
    6952 |  .sdev_attr_groups = pqi_sdev_attr_groups,
         |                      ^~~~~~~~~~~~~~~~~~~~
         |                      pqi_shost_attr_groups
   drivers/scsi/smartpqi/smartpqi_init.c:6927:26: warning: 'pqi_sdev_attrs' defined but not used [-Wunused-variable]
    6927 | static struct attribute *pqi_sdev_attrs[] = {
         |                          ^~~~~~~~~~~~~~


vim +6952 drivers/scsi/smartpqi/smartpqi_init.c

  6937	
  6938	static struct scsi_host_template pqi_driver_template = {
  6939		.module = THIS_MODULE,
  6940		.name = DRIVER_NAME_SHORT,
  6941		.proc_name = DRIVER_NAME_SHORT,
  6942		.queuecommand = pqi_scsi_queue_command,
  6943		.scan_start = pqi_scan_start,
  6944		.scan_finished = pqi_scan_finished,
  6945		.this_id = -1,
  6946		.eh_device_reset_handler = pqi_eh_device_reset_handler,
  6947		.ioctl = pqi_ioctl,
  6948		.slave_alloc = pqi_slave_alloc,
  6949		.slave_configure = pqi_slave_configure,
  6950		.slave_destroy = pqi_slave_destroy,
  6951		.map_queues = pqi_map_queues,
> 6952		.sdev_attr_groups = pqi_sdev_attr_groups,
  6953		.shost_attr_groups = pqi_shost_attr_groups,
  6954	};
  6955	

---
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: 40733 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-01 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 14:04 [bvanassche:scsi-for-next 2/2] drivers/scsi/smartpqi/smartpqi_init.c:6952:22: error: 'pqi_sdev_attr_groups' undeclared here (not in a function); did you mean 'pqi_shost_attr_groups'? kernel test robot
2021-10-01 14:04 ` 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.