[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202310070445.tzRBNYRC-lkp@intel.com>
Date: Sat, 7 Oct 2023 04:31:10 +0800
From: kernel test robot <lkp@...el.com>
To: Krzysztof Wilczynski <kw@...ux.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Bjorn Helgaas <helgaas@...nel.org>,
Rob Herring <robh@...nel.org>
Subject: arch/mips/pci/fixup-lantiq.c:13:5: warning: no previous prototype
for 'pcibios_plat_dev_init'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: af95dc6fdc25e616051d0234aad638e15c02ec8f
commit: bbd8810d399812f2016713565e4d8ff8f1508aa6 PCI: Remove unused includes and superfluous struct declaration
date: 3 years, 11 months ago
config: mips-xway_defconfig (https://download.01.org/0day-ci/archive/20231007/202310070445.tzRBNYRC-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231007/202310070445.tzRBNYRC-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310070445.tzRBNYRC-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/mips/pci/fixup-lantiq.c:13:5: warning: no previous prototype for 'pcibios_plat_dev_init' [-Wmissing-prototypes]
13 | int pcibios_plat_dev_init(struct pci_dev *dev)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/mips/pci/fixup-lantiq.c:24:5: warning: no previous prototype for 'pcibios_map_irq' [-Wmissing-prototypes]
24 | int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
| ^~~~~~~~~~~~~~~
vim +/pcibios_plat_dev_init +13 arch/mips/pci/fixup-lantiq.c
57c8cb8f242988 John Crispin 2012-05-11 12
57c8cb8f242988 John Crispin 2012-05-11 @13 int pcibios_plat_dev_init(struct pci_dev *dev)
57c8cb8f242988 John Crispin 2012-05-11 14 {
57c8cb8f242988 John Crispin 2012-05-11 15 if (ltq_pci_plat_arch_init)
57c8cb8f242988 John Crispin 2012-05-11 16 return ltq_pci_plat_arch_init(dev);
57c8cb8f242988 John Crispin 2012-05-11 17
57c8cb8f242988 John Crispin 2012-05-11 18 if (ltq_pci_plat_dev_init)
57c8cb8f242988 John Crispin 2012-05-11 19 return ltq_pci_plat_dev_init(dev);
57c8cb8f242988 John Crispin 2012-05-11 20
57c8cb8f242988 John Crispin 2012-05-11 21 return 0;
57c8cb8f242988 John Crispin 2012-05-11 22 }
57c8cb8f242988 John Crispin 2012-05-11 23
8eba3651f1dad4 Manuel Lauss 2017-09-12 @24 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
:::::: The code at line 13 was first introduced by commit
:::::: 57c8cb8f242988b8048a7058cd1edde025c6f232 MIPS: pci: convert lantiq driver to OF
:::::: TO: John Crispin <blogic@...nwrt.org>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists