[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202509262001.AJLzM9is-lkp@intel.com>
Date: Fri, 26 Sep 2025 20:32:00 +0800
From: kernel test robot <lkp@...el.com>
To: Terry Bowman <terry.bowman@....com>, dave@...olabs.net,
jonathan.cameron@...wei.com, dave.jiang@...el.com,
alison.schofield@...el.com, dan.j.williams@...el.com,
bhelgaas@...gle.com, shiju.jose@...wei.com, ming.li@...omail.com,
Smita.KoralahalliChannabasappa@....com, rrichter@....com,
dan.carpenter@...aro.org, PradeepVineshReddy.Kodamati@....com,
lukas@...ner.de, Benjamin.Cheatham@....com,
sathyanarayanan.kuppuswamy@...ux.intel.com,
linux-cxl@...r.kernel.org, alucerop@....com, ira.weiny@...el.com
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, terry.bowman@....com
Subject: Re: [PATCH v12 06/25] CXL/AER: Introduce aer_cxl_rch.c into AER
driver for handling CXL RCH errors
Hi Terry,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 46037455cbb748c5e85071c95f2244e81986eb58]
url: https://github.com/intel-lab-lkp/linux/commits/Terry-Bowman/cxl-pci-Remove-unnecessary-CXL-Endpoint-handling-helper-functions/20250926-064816
base: 46037455cbb748c5e85071c95f2244e81986eb58
patch link: https://lore.kernel.org/r/20250925223440.3539069-7-terry.bowman%40amd.com
patch subject: [PATCH v12 06/25] CXL/AER: Introduce aer_cxl_rch.c into AER driver for handling CXL RCH errors
config: microblaze-allnoconfig (https://download.01.org/0day-ci/archive/20250926/202509262001.AJLzM9is-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509262001.AJLzM9is-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509262001.AJLzM9is-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/pci/of.c:18:
>> drivers/pci/pci.h:1208:69: warning: 'struct aer_err_info' declared inside parameter list will not be visible outside of this definition or declaration
1208 | static inline void cxl_rch_handle_error(struct pci_dev *dev, struct aer_err_info *info) { }
| ^~~~~~~~~~~~
drivers/pci/pci.h:1215:45: warning: 'struct aer_err_info' declared inside parameter list will not be visible outside of this definition or declaration
1215 | static inline bool is_internal_error(struct aer_err_info *info) { return false; }
| ^~~~~~~~~~~~
vim +1208 drivers/pci/pci.h
1199
1200 #define PCI_CONF1_EXT_ADDRESS(bus, dev, func, reg) \
1201 (PCI_CONF1_ADDRESS(bus, dev, func, reg) | \
1202 PCI_CONF1_EXT_REG(reg))
1203
1204 #ifdef CONFIG_CXL_RCH_RAS
1205 void cxl_rch_handle_error(struct pci_dev *dev, struct aer_err_info *info);
1206 void cxl_rch_enable_rcec(struct pci_dev *rcec);
1207 #else
> 1208 static inline void cxl_rch_handle_error(struct pci_dev *dev, struct aer_err_info *info) { }
1209 static inline void cxl_rch_enable_rcec(struct pci_dev *rcec) { }
1210 #endif
1211
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists