Hi Daniel,
FYI, the error/warning still remains.
tree:
https://github.com/zen-kernel/zen-kernel 5.13/zen-sauce
head: df089c73ce7c2ecc19aaa81af627c8682f3e7aa9
commit: 28defae036a002630b50952e29ed454586ed4212 [5/8] PCI: Add Intel remapped NVMe device
support
config: x86_64-randconfig-c001-20210810 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
767496d19cb9a1fbba57ff08095faa161998ee36)
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/zen-kernel/zen-kernel/commit/28defae036a002630b50952e2...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/zen-sauce
git checkout 28defae036a002630b50952e29ed454586ed4212
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/pci/controller/intel-nvme-remap.c:447:12: warning:
initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.class = PCI_CLASS_STORAGE_RAID << 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pci_ids.h:23:33: note: expanded from macro
'PCI_CLASS_STORAGE_RAID'
#define PCI_CLASS_STORAGE_RAID 0x0104
^
drivers/pci/controller/intel-nvme-remap.c:446:3: note: previous initialization is here
PCI_VDEVICE(INTEL, PCI_ANY_ID),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pci.h:941:52: note: expanded from macro 'PCI_VDEVICE'
.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
^
drivers/pci/controller/intel-nvme-remap.c:448:17: warning: initializer overrides prior
initialization of this subobject [-Winitializer-overrides]
.class_mask = 0xffffff00,
^~~~~~~~~~
drivers/pci/controller/intel-nvme-remap.c:446:3: note: previous initialization is here
PCI_VDEVICE(INTEL, PCI_ANY_ID),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pci.h:941:55: note: expanded from macro 'PCI_VDEVICE'
.subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0
^
2 warnings generated.
vim +447 drivers/pci/controller/intel-nvme-remap.c
434
435 static const struct pci_device_id nvme_remap_ids[] = {
436 /*
437 * Match all Intel RAID controllers.
438 *
439 * There's overlap here with the set of devices detected by the ahci
440 * driver, but ahci will only successfully probe when there
441 * *aren't* any remapped NVMe devices, and this driver will only
442 * successfully probe when there *are* remapped NVMe devices that
443 * need handling.
444 */
445 {
446 PCI_VDEVICE(INTEL, PCI_ANY_ID),
447 .class = PCI_CLASS_STORAGE_RAID << 8,
448 .class_mask = 0xffffff00,
449 },
450 {0,}
451 };
452 MODULE_DEVICE_TABLE(pci, nvme_remap_ids);
453
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org