* [zen-kernel-zen-kernel:5.13/zen-sauce 5/5] drivers/pci/controller/intel-nvme-remap.c:448:17: warning: initialized field overwritten
@ 2021-07-25 0:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-25 0:07 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3020 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.13/zen-sauce
head: 28defae036a002630b50952e29ed454586ed4212
commit: 28defae036a002630b50952e29ed454586ed4212 [5/5] 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/28defae036a002630b50952e29ed454586ed4212
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
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 warnings (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: warning: initialized field overwritten [-Woverride-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: warning: initialized field overwritten [-Woverride-init]
448 | .class_mask = 0xffffff00,
| ^~~~~~~~~~
drivers/pci/controller/intel-nvme-remap.c:448:17: note: (near initialization for 'nvme_remap_ids[0].class_mask')
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: 65827 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-25 0:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 0:07 [zen-kernel-zen-kernel:5.13/zen-sauce 5/5] drivers/pci/controller/intel-nvme-remap.c:448:17: warning: 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.