tree:
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git pci-dw-cleanups
head: 62645842bd85958552314ba85bd14565c16bb392
commit: 9d1e1e624ea779b4abd5f346effd9a46c3caa49d [23/40] PCI: dwc: Add a
'num_lanes' field to struct dw_pcie
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 9d1e1e624ea779b4abd5f346effd9a46c3caa49d
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/pci/controller/dwc/pcie-designware.c: In function 'dw_pcie_setup':
> drivers/pci/controller/dwc/pcie-designware.c:549:6: warning:
variable 'ret' set but not used [-Wunused-but-set-variable]
549 | int
ret;
| ^~~
#
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git/commit/?id...
git remote add robh
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git
git fetch --no-tags robh pci-dw-cleanups
git checkout 9d1e1e624ea779b4abd5f346effd9a46c3caa49d
vim +/ret +549 drivers/pci/controller/dwc/pcie-designware.c
a9f4c2d2f99ec85 drivers/pci/controller/dwc/pcie-designware.c Kishon Vijay Abraham I
2019-03-25 546
feb85d9b1c47ea8 drivers/pci/dwc/pcie-designware.c Kishon Vijay Abraham I
2017-02-15 547 void dw_pcie_setup(struct dw_pcie *pci)
340cba6092c2c16 drivers/pci/host/pcie-designware.c Jingoo Han
2013-06-21 548 {
5f334db665173fa drivers/pci/dwc/pcie-designware.c Kishon Vijay Abraham I
2017-02-15 @549 int ret;
:::::: The code at line 549 was first introduced by commit
:::::: 5f334db665173facf2213854408bb5fa2445d0b3 PCI: dwc: designware: Parse
"num-lanes" property in dw_pcie_setup_rc()
:::::: TO: Kishon Vijay Abraham I <kishon(a)ti.com>
:::::: CC: Bjorn Helgaas <bhelgaas(a)google.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org