* [zen:5.14/zen-sauce 24/33] drivers/pci/controller/intel-nvme-remap.c:447:12: warning: initializer overrides prior initialization of this subobject
@ 2021-10-03 15:38 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-10-03 15:38 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3547 bytes --]
tree: https://github.com/zen-kernel/zen-kernel 5.14/zen-sauce
head: 4a84b4694aeedce5cbf1753a332a474b72de72b6
commit: f05a76bbac2ea8737c5b6a64a1e842da8c52a146 [24/33] PCI: Add Intel remapped NVMe device support
config: x86_64-randconfig-a013-20211003 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 57d9adefa04dc65096b8ba3e5763c15305676f73)
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/f05a76bbac2ea8737c5b6a64a1e842da8c52a146
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 5.14/zen-sauce
git checkout f05a76bbac2ea8737c5b6a64a1e842da8c52a146
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):
>> 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:944: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:944: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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40013 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [zen:5.14/zen-sauce 24/33] drivers/pci/controller/intel-nvme-remap.c:447:12: warning: initializer overrides prior initialization of this subobject
@ 2021-10-29 20:57 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-10-29 20:57 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3602 bytes --]
Hi Daniel,
FYI, the error/warning still remains.
tree: https://github.com/zen-kernel/zen-kernel 5.14/zen-sauce
head: 08fa0c26a3f97066fdb47aa4bea0bda555bfa98e
commit: f05a76bbac2ea8737c5b6a64a1e842da8c52a146 [24/33] PCI: Add Intel remapped NVMe device support
config: x86_64-randconfig-a015-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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/f05a76bbac2ea8737c5b6a64a1e842da8c52a146
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 5.14/zen-sauce
git checkout f05a76bbac2ea8737c5b6a64a1e842da8c52a146
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):
>> 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:944: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:944: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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38615 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [zen:5.14/zen-sauce 24/33] drivers/pci/controller/intel-nvme-remap.c:447:12: warning: initializer overrides prior initialization of this subobject
@ 2021-11-07 15:25 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-07 15:25 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3602 bytes --]
Hi Daniel,
FYI, the error/warning still remains.
tree: https://github.com/zen-kernel/zen-kernel 5.14/zen-sauce
head: 08fa0c26a3f97066fdb47aa4bea0bda555bfa98e
commit: f05a76bbac2ea8737c5b6a64a1e842da8c52a146 [24/33] PCI: Add Intel remapped NVMe device support
config: x86_64-randconfig-a013-20211003 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 57d9adefa04dc65096b8ba3e5763c15305676f73)
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/f05a76bbac2ea8737c5b6a64a1e842da8c52a146
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 5.14/zen-sauce
git checkout f05a76bbac2ea8737c5b6a64a1e842da8c52a146
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):
>> 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:944: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:944: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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40020 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-07 15:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 20:57 [zen:5.14/zen-sauce 24/33] drivers/pci/controller/intel-nvme-remap.c:447:12: warning: initializer overrides prior initialization of this subobject kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2021-11-07 15:25 kernel test robot
2021-10-03 15:38 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.