From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen-kernel-zen-kernel:5.13/zen-sauce 5/5] drivers/pci/controller/intel-nvme-remap.c:448:17: warning: initialized field overwritten
Date: Sun, 25 Jul 2021 08:07:54 +0800 [thread overview]
Message-ID: <202107250852.uvSCxu8Z-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-25 0:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107250852.uvSCxu8Z-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.