* drivers/pci/liveupdate.h:31:1: error: expected identifier or '('
@ 2026-05-14 9:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 9:26 UTC (permalink / raw)
To: David Matlack; +Cc: llvm, oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/David-Matlack/PCI-liveupdate-Set-up-FLB-handler-for-the-PCI-core/20260514-111126
head: b4570b026ee40593fe4f6931f522a15adc6ea247
commit: f88bd26914e11847b921b4d09d4b91be5dec94ba PCI: liveupdate: Freeze preservation status during shutdown
date: 6 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260514/202605141129.QEeW4TcK-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605141129.QEeW4TcK-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605141129.QEeW4TcK-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/pci/probe.c:27:
>> drivers/pci/liveupdate.h:31:1: error: expected identifier or '('
31 | {
| ^
1 error generated.
--
In file included from drivers/pci/pci.c:36:
>> drivers/pci/liveupdate.h:31:1: error: expected identifier or '('
31 | {
| ^
drivers/pci/pci.c:427:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
427 | return PCI_FIND_NEXT_CAP(pci_bus_read_config, pos, cap, NULL, bus, devfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^~~~~~~~~~~~~~~
drivers/pci/pci.c:427:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^
drivers/pci/pci.c:531:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
531 | return PCI_FIND_NEXT_EXT_CAP(pci_bus_read_config, start, cap,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
532 | NULL, dev->bus, dev->devfn);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/pci.h:209:5: note: expanded from macro 'PCI_FIND_NEXT_EXT_CAP'
209 | *(u16 *)prev_ptr = __prev_pos; \
| ^~~~~~~~~~~~~~~~
drivers/pci/pci.c:531:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
drivers/pci/pci.h:209:5: note: expanded from macro 'PCI_FIND_NEXT_EXT_CAP'
209 | *(u16 *)prev_ptr = __prev_pos; \
| ^
drivers/pci/pci.c:600:8: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
600 | pos = PCI_FIND_NEXT_CAP(pci_bus_read_config, pos,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
601 | PCI_CAP_ID_HT, NULL, dev->bus, dev->devfn);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^~~~~~~~~~~~~~~
drivers/pci/pci.c:600:8: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^
drivers/pci/pci.c:610:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
610 | pos = PCI_FIND_NEXT_CAP(pci_bus_read_config,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
611 | pos + PCI_CAP_LIST_NEXT,
| ~~~~~~~~~~~~~~~~~~~~~~~~
612 | PCI_CAP_ID_HT, NULL, dev->bus,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
613 | dev->devfn);
| ~~~~~~~~~~~
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^~~~~~~~~~~~~~~
drivers/pci/pci.c:610:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
drivers/pci/pci.h:161:5: note: expanded from macro 'PCI_FIND_NEXT_CAP'
161 | *(u8 *)prev_ptr = __prev_pos; \
| ^
4 warnings and 1 error generated.
vim +31 drivers/pci/liveupdate.h
29
30 static inline void pci_liveupdate_freeze(struct pci_dev *dev);
> 31 {
32 }
33
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-14 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 9:26 drivers/pci/liveupdate.h:31:1: error: expected identifier or '(' 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.