lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 2 Oct 2021 04:29:40 +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-sysfs 10/55] drivers/ata/ahci.h:392:10: error:
 'struct scsi_host_template' has no member named 'sdev_attr_groups'; did you
 mean 'shost_attr_groups'?

tree:   https://github.com/bvanassche/linux scsi-sysfs
head:   089cf42d12539a64a19a0f55b2d46fdf1176b1b5
commit: 0b1b210f411e326cdfc740dd2b541d74f1a98a69 [10/55] ata
config: arc-randconfig-r043-20211001 (attached as .config)
compiler: arceb-elf-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/0b1b210f411e326cdfc740dd2b541d74f1a98a69
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-sysfs
        git checkout 0b1b210f411e326cdfc740dd2b541d74f1a98a69
        # 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=arc SHELL=/bin/bash drivers/

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 >>):

   In file included from drivers/ata/ahci_platform.c:21:
>> drivers/ata/ahci.h:392:10: error: 'struct scsi_host_template' has no member named 'sdev_attr_groups'; did you mean 'shost_attr_groups'?
     392 |         .sdev_attr_groups       = ahci_sdev_attr_groups,                \
         |          ^~~~~~~~~~~~~~~~
   drivers/ata/ahci_platform.c:40:9: note: in expansion of macro 'AHCI_SHT'
      40 |         AHCI_SHT(DRV_NAME),
         |         ^~~~~~~~
--
   In file included from drivers/ata/ahci_ceva.c:16:
>> drivers/ata/ahci.h:392:10: error: 'struct scsi_host_template' has no member named 'sdev_attr_groups'; did you mean 'shost_attr_groups'?
     392 |         .sdev_attr_groups       = ahci_sdev_attr_groups,                \
         |          ^~~~~~~~~~~~~~~~
   drivers/ata/ahci_ceva.c:189:9: note: in expansion of macro 'AHCI_SHT'
     189 |         AHCI_SHT(DRV_NAME),
         |         ^~~~~~~~


vim +392 drivers/ata/ahci.h

   381	
   382	/*
   383	 * This must be instantiated by the edge drivers.  Read the comments
   384	 * for ATA_BASE_SHT
   385	 */
   386	#define AHCI_SHT(drv_name)						\
   387		__ATA_BASE_SHT(drv_name),					\
   388		.can_queue		= AHCI_MAX_CMDS,			\
   389		.sg_tablesize		= AHCI_MAX_SG,				\
   390		.dma_boundary		= AHCI_DMA_BOUNDARY,			\
   391		.shost_attr_groups	= ahci_shost_attr_groups,		\
 > 392		.sdev_attr_groups	= ahci_sdev_attr_groups,		\
   393		.change_queue_depth     = ata_scsi_change_queue_depth,		\
   394		.tag_alloc_policy       = BLK_TAG_ALLOC_RR,             	\
   395		.slave_configure        = ata_scsi_slave_config
   396	

---
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" (31312 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ