* [zen:5.15/zen-sauce 24/28] drivers/pci/controller/intel-nvme-remap.c:448:17: error: initialized field overwritten
@ 2021-11-07 1:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-07 1:01 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.15/zen-sauce
head: 81ba2917231b206b7b6b9b160e456c5452c4f62e
commit: ce769e35208203536d176326e72560548848b5ff [24/28] PCI: Add Intel remapped NVMe device support
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/zen-kernel/zen-kernel/commit/ce769e35208203536d176326e72560548848b5ff
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 5.15/zen-sauce
git checkout ce769e35208203536d176326e72560548848b5ff
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
In file included from include/linux/pci.h:43,
from drivers/pci/controller/intel-nvme-remap.c:40:
>> include/linux/pci_ids.h:23:33: error: initialized field overwritten [-Werror=override-init]
23 | #define PCI_CLASS_STORAGE_RAID 0x0104
| ^~~~~~
drivers/pci/controller/intel-nvme-remap.c:447:12: note: in expansion of macro 'PCI_CLASS_STORAGE_RAID'
447 | .class = PCI_CLASS_STORAGE_RAID << 8,
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/pci_ids.h:23:33: note: (near initialization for 'nvme_remap_ids[0].class')
23 | #define PCI_CLASS_STORAGE_RAID 0x0104
| ^~~~~~
drivers/pci/controller/intel-nvme-remap.c:447:12: note: in expansion of macro 'PCI_CLASS_STORAGE_RAID'
447 | .class = PCI_CLASS_STORAGE_RAID << 8,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/pci/controller/intel-nvme-remap.c:448:17: error: initialized field overwritten [-Werror=override-init]
448 | .class_mask = 0xffffff00,
| ^~~~~~~~~~
drivers/pci/controller/intel-nvme-remap.c:448:17: note: (near initialization for 'nvme_remap_ids[0].class_mask')
cc1: all warnings being treated as errors
vim +448 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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66720 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-07 1:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 1:01 [zen:5.15/zen-sauce 24/28] drivers/pci/controller/intel-nvme-remap.c:448:17: error: initialized field overwritten 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.