Hi Hans, kernel test robot noticed the following build warnings: [auto build test WARNING on ca91b9500108d4cf083a635c2e11c884d5dd20ea] url: https://github.com/intel-lab-lkp/linux/commits/Hans-Zhang/PCI-Introduce-generic-bus-config-read-helper-function/20250506-004221 base: ca91b9500108d4cf083a635c2e11c884d5dd20ea patch link: https://lore.kernel.org/r/20250505163420.198012-5-18255117159%40163.com patch subject: [PATCH v11 4/6] PCI: dwc: Use common PCI host bridge APIs for finding the capabilities config: parisc-randconfig-r063-20250509 (https://download.01.org/0day-ci/archive/20250509/202505092036.Sw8SstSY-lkp@xxxxxxxxx/config) compiler: hppa-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505092036.Sw8SstSY-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/202505092036.Sw8SstSY-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In function 'dw_pcie_read_cfg', inlined from 'dw_pcie_find_capability' at drivers/pci/controller/dwc/pcie-designware.c:219:9: >> drivers/pci/controller/dwc/pcie-designware.c:212:14: warning: write of 32-bit data outside the bound of destination object, data truncated into 8-bit [-Wextra] 212 | *val = dw_pcie_read_dbi(pci, where, size); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +212 drivers/pci/controller/dwc/pcie-designware.c 207 208 static int dw_pcie_read_cfg(void *priv, int where, int size, u32 *val) 209 { 210 struct dw_pcie *pci = priv; 211 > 212 *val = dw_pcie_read_dbi(pci, where, size); 213 214 return PCIBIOS_SUCCESSFUL; 215 } 216 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki