[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202503240212.GtZsXgoK-lkp@intel.com>
Date: Mon, 24 Mar 2025 02:33:34 +0800
From: kernel test robot <lkp@...el.com>
To: Hans Zhang <18255117159@....com>, lpieralisi@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, kw@...ux.com,
manivannan.sadhasivam@...aro.org, robh@...nel.org,
bhelgaas@...gle.com, jingoohan1@...il.com,
thomas.richard@...tlin.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, Hans Zhang <18255117159@....com>
Subject: Re: [v6 3/5] PCI: cadence: Use common PCI host bridge APIs for
finding the capabilities
Hi Hans,
kernel test robot noticed the following build errors:
[auto build test ERROR on a1cffe8cc8aef85f1b07c4464f0998b9785b795a]
url: https://github.com/intel-lab-lkp/linux/commits/Hans-Zhang/PCI-Introduce-generic-capability-search-functions/20250324-005300
base: a1cffe8cc8aef85f1b07c4464f0998b9785b795a
patch link: https://lore.kernel.org/r/20250323164852.430546-4-18255117159%40163.com
patch subject: [v6 3/5] PCI: cadence: Use common PCI host bridge APIs for finding the capabilities
config: csky-randconfig-001-20250324 (https://download.01.org/0day-ci/archive/20250324/202503240212.GtZsXgoK-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250324/202503240212.GtZsXgoK-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/202503240212.GtZsXgoK-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pci/controller/cadence/pcie-cadence.c: In function 'cdns_pcie_find_capability':
>> drivers/pci/controller/cadence/pcie-cadence.c:28:16: error: implicit declaration of function 'pci_host_bridge_find_capability'; did you mean 'cdns_pcie_find_capability'? [-Wimplicit-function-declaration]
28 | return pci_host_bridge_find_capability(pcie, cdns_pcie_read_cfg, cap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cdns_pcie_find_capability
drivers/pci/controller/cadence/pcie-cadence.c: In function 'cdns_pcie_find_ext_capability':
>> drivers/pci/controller/cadence/pcie-cadence.c:33:16: error: implicit declaration of function 'pci_host_bridge_find_ext_capability'; did you mean 'cdns_pcie_find_ext_capability'? [-Wimplicit-function-declaration]
33 | return pci_host_bridge_find_ext_capability(pcie, cdns_pcie_read_cfg, cap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cdns_pcie_find_ext_capability
vim +28 drivers/pci/controller/cadence/pcie-cadence.c
25
26 u8 cdns_pcie_find_capability(struct cdns_pcie *pcie, u8 cap)
27 {
> 28 return pci_host_bridge_find_capability(pcie, cdns_pcie_read_cfg, cap);
29 }
30
31 u16 cdns_pcie_find_ext_capability(struct cdns_pcie *pcie, u8 cap)
32 {
> 33 return pci_host_bridge_find_ext_capability(pcie, cdns_pcie_read_cfg, cap);
34 }
35
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists