From: kernel test robot <lkp@intel.com>
To: Krzysztof Wilczynski <kw@linux.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Bjorn Helgaas <helgaas@kernel.org>, Rob Herring <robh@kernel.org>
Subject: arch/mips/pci/fixup-lantiq.c:13:5: warning: no previous prototype for 'pcibios_plat_dev_init'
Date: Sat, 7 Oct 2023 04:31:10 +0800 [thread overview]
Message-ID: <202310070445.tzRBNYRC-lkp@intel.com> (raw)
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@intel.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@openwrt.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-10-06 20:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202310070445.tzRBNYRC-lkp@intel.com \
--to=lkp@intel.com \
--cc=helgaas@kernel.org \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).