Hi Hans, kernel test robot noticed the following build errors: [auto build test ERROR on pci/next] [also build test ERROR on pci/for-linus linus/master v6.16-rc3 next-20250627] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Hans-Zhang/PCI-dwc-Refactor-code-by-using-dw_pcie_clear_and_set_dword/20250627-031223 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20250626145040.14180-3-18255117159%40163.com patch subject: [PATCH v3] PCI: dwc: Refactor code by using dw_pcie_clear_and_set_dword() config: arc-randconfig-001-20250628 (https://download.01.org/0day-ci/archive/20250628/202506280542.6ttkdrur-lkp@xxxxxxxxx/config) compiler: arc-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250628/202506280542.6ttkdrur-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202506280542.6ttkdrur-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from drivers/pci/controller/dwc/pcie-amd-mdb.c:21: drivers/pci/controller/dwc/pcie-designware.h: In function 'dw_pcie_dbi_ro_wr_en': >> drivers/pci/controller/dwc/pcie-designware.h:712:2: error: implicit declaration of function 'dw_pcie_clear_and_set_dword'; did you mean 'pcie_capability_set_dword'? [-Werror=implicit-function-declaration] dw_pcie_clear_and_set_dword(pci, PCIE_MISC_CONTROL_1_OFF, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pcie_capability_set_dword cc1: some warnings being treated as errors vim +712 drivers/pci/controller/dwc/pcie-designware.h 709 710 static inline void dw_pcie_dbi_ro_wr_en(struct dw_pcie *pci) 711 { > 712 dw_pcie_clear_and_set_dword(pci, PCIE_MISC_CONTROL_1_OFF, 713 0, PCIE_DBI_RO_WR_EN); 714 } 715 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki