Hi Dan, kernel test robot noticed the following build errors: [auto build test ERROR on 7eb172143d5508b4da468ed59ee857c6e5e01da6] url: https://github.com/intel-lab-lkp/linux/commits/Dan-Williams/configfs-tsm-Namespace-TSM-report-symbols/20250304-152958 base: 7eb172143d5508b4da468ed59ee857c6e5e01da6 patch link: https://lore.kernel.org/r/174107250147.1288555.16948528371146013276.stgit%40dwillia2-xfh.jf.intel.com patch subject: [PATCH v2 08/11] PCI/IDE: Add IDE establishment helpers config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20250305/202503052042.Clxxh3ZH-lkp@xxxxxxxxx/config) compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250305/202503052042.Clxxh3ZH-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/202503052042.Clxxh3ZH-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/pci/ide.c:322:3: error: expected expression struct pci_dev *rp = pcie_find_root_port(ide->pdev); ^ >> drivers/pci/ide.c:326:20: error: use of undeclared identifier 'rp' pci_name(rp)); ^ 2 errors generated. vim +322 drivers/pci/ide.c 306 307 static struct pci_ide_partner *to_settings(struct pci_dev *pdev, struct pci_ide *ide) 308 { 309 if (!pci_is_pcie(pdev)) { 310 pci_warn_once(pdev, "not a PCIe device\n"); 311 return NULL; 312 } 313 314 switch (pci_pcie_type(pdev)) { 315 case PCI_EXP_TYPE_ENDPOINT: 316 if (pdev != ide->pdev) { 317 pci_warn_once(pdev, "setup expected Endpoint: %s\n", pci_name(ide->pdev)); 318 return NULL; 319 } 320 return &ide->partner[PCI_IDE_EP]; 321 case PCI_EXP_TYPE_ROOT_PORT: > 322 struct pci_dev *rp = pcie_find_root_port(ide->pdev); 323 324 if (pdev != pcie_find_root_port(ide->pdev)) { 325 pci_warn_once(pdev, "setup expected Root Port: %s\n", > 326 pci_name(rp)); 327 return NULL; 328 } 329 return &ide->partner[PCI_IDE_RP]; 330 default: 331 pci_warn_once(pdev, "invalid device type\n"); 332 return NULL; 333 } 334 } 335 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki