Re: [PATCH] fix: PCI: dra7xx: dra7xx_pcie_probe: fix missing device_link_del on phy error paths
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all,dev.linux.lists.llvm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
Hi WenTao, 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 v7.2-rc7 next-20260814] [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/WenTao-Liang/fix-PCI-dra7xx-dra7xx_pcie_probe-fix-missing-device_link_del-on-phy-error-paths/20260815-023710 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20260626154809.53770-1-vulab%40iscas.ac.cn patch subject: [PATCH] fix: PCI: dra7xx: dra7xx_pcie_probe: fix missing device_link_del on phy error paths config: arm64-randconfig-001-20260816 (https://download.01.org/0day-ci/archive/20260816/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 844a18e753e822736c9805ab779144b647a2c186) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260816/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): >> drivers/pci/controller/dwc/pci-dra7xx.c:918:8: error: use of undeclared label 'err_link' 918 | goto err_link; | ^ 1 error generated. vim +/err_link +918 drivers/pci/controller/dwc/pci-dra7xx.c 908 909 static int dra7xx_pcie_resume_noirq(struct device *dev) 910 { 911 struct dra7xx_pcie *dra7xx = dev_get_drvdata(dev); 912 int ret; 913 914 ret = dra7xx_pcie_enable_phy(dra7xx); 915 if (ret) { 916 dev_err(dev, "failed to enable phy\n"); 917 dra7xx_pcie_disable_phy(dra7xx); > 918 goto err_link; 919 } 920 921 return 0; 922 } 923 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki