* [davejiang:cxl-port-err.v14 28/37] drivers/cxl/cxlpci.h:96:1: error: expected identifier or '('
@ 2026-01-06 14:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-06 14:19 UTC (permalink / raw)
To: Terry Bowman; +Cc: llvm, oe-kbuild-all, Kuppuswamy Sathyanarayanan
tree: https://github.com/davejiang/linux.git cxl-port-err.v14
head: a1102a7118289d39c0fdc11e0331763822387705
commit: dfdb8cef4f5c9cd4c6e7e3e151b607a6b9c4234f [28/37] cxl: Introduce CXL Uncorrectable Protocol Error handlers for Endpoints
config: riscv-randconfig-002-20260106 (https://download.01.org/0day-ci/archive/20260106/202601062232.MtzWBLRG-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260106/202601062232.MtzWBLRG-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/202601062232.MtzWBLRG-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/cxl/pci.c:16:
>> drivers/cxl/cxlpci.h:95:73: warning: non-void function does not return a value [-Wreturn-type]
95 | static inline pci_ers_result_t cxl_error_detected(struct device *dev) { }
| ^
>> drivers/cxl/cxlpci.h:96:1: error: expected identifier or '('
96 | {
| ^
1 warning and 1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for AX45MP_L2_CACHE
Depends on [n]: CACHEMAINT_FOR_DMA [=n]
Selected by [y]:
- ARCH_R9A07G043 [=y] && SOC_RENESAS [=y] && RISCV [=y] && NONPORTABLE [=y] && !DMA_DIRECT_REMAP [=n] && RISCV_ALTERNATIVE [=y] && !RISCV_ISA_ZICBOM [=n] && RISCV_SBI [=y]
vim +96 drivers/cxl/cxlpci.h
79
80 #ifdef CONFIG_CXL_RAS
81 void cxl_cor_error_detected(struct pci_dev *pdev);
82 pci_ers_result_t cxl_error_detected(struct device *dev);
83 pci_ers_result_t cxl_pci_error_detected(struct pci_dev *pdev,
84 pci_channel_state_t error);
85 void devm_cxl_dport_ras_setup(struct cxl_dport *dport);
86 void devm_cxl_port_ras_setup(struct cxl_port *port);
87 void __cxl_dport_init_ras_reporting(struct cxl_dport *dport, struct device *host);
88 void __cxl_uport_init_ras_reporting(struct cxl_port *port,
89 struct device *host);
90 int __cxl_await_media_ready(struct cxl_dev_state *cxlds);
91 resource_size_t __cxl_rcd_component_reg_phys(struct device *dev,
92 struct cxl_dport *dport);
93 #else
94 static inline void cxl_cor_error_detected(struct pci_dev *pdev) { }
> 95 static inline pci_ers_result_t cxl_error_detected(struct device *dev) { }
> 96 {
97 return PCI_ERS_RESULT_NONE;
98 }
99 static inline pci_ers_result_t cxl_pci_error_detected(struct pci_dev *pdev,
100 pci_channel_state_t state)
101 {
102 return PCI_ERS_RESULT_NONE;
103 }
104 static inline void devm_cxl_dport_ras_setup(struct cxl_dport *dport)
105 {
106 }
107 static inline void devm_cxl_port_ras_setup(struct cxl_port *port)
108 {
109 }
110 #endif
111
--
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-01-06 14:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 14:19 [davejiang:cxl-port-err.v14 28/37] drivers/cxl/cxlpci.h:96:1: error: expected identifier or '(' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox