mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [bvanassche:scsi-for-next 1/2] drivers/ata/ata_piix.c:1098:2: error: initializing 'const struct attribute_group *' with an expression of incompatible type 'const struct attribute_group'; take the address with &
@ 2021-11-06 16:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-06 16:56 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: llvm, kbuild-all, linux-kernel

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

tree:   https://github.com/bvanassche/linux scsi-for-next
head:   3d4f1af1fe85f0f2cc435ea177d25f9bad454965
commit: 983ecfd3c8e1418e0bd073bac176b8065ec619fd [1/2] scsi: Register SCSI host sysfs attributes earlier
config: i386-randconfig-c001-20211001 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 962e503cc8bc411f7523cc393acae8aae425b1c4)
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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

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/ata/ata_piix.c:1098:2: error: initializing 'const struct attribute_group *' with an expression of incompatible type 'const struct attribute_group'; take the address with &
           piix_sidpr_shost_attr_group,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
           &
   1 error generated.


vim +1098 drivers/ata/ata_piix.c

  1096	
  1097	static const struct attribute_group *piix_sidpr_shost_attr_groups[] = {
> 1098		piix_sidpr_shost_attr_group,
  1099		NULL
  1100	};
  1101	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-06 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 16:56 [bvanassche:scsi-for-next 1/2] drivers/ata/ata_piix.c:1098:2: error: initializing 'const struct attribute_group *' with an expression of incompatible type 'const struct attribute_group'; take the address with & kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®