arch/mips/pci/fixup-lantiq.c:13:5: warning: no previous prototype for 'pcibios_plat_dev_init'
kernel test robot
build bottree: 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/[email protected]/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231007/[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 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 <[email protected]>
:::::: CC: Ralf Baechle <[email protected]>
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki