From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chenhuacai-linux-loongson:loongarch-next 20/39] drivers/irqchip/irq-loongson-pch-lpc.c:147:23: warning: no previous prototype for 'pch_lpc_acpi_init'
Date: Tue, 29 Jun 2021 07:16:39 +0800 [thread overview]
Message-ID: <202106290734.5CvTriLC-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2621 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git loongarch-next
head: abd54d3fdafcc8df4aa20ee27ed9abe66cb2fb35
commit: af86cbb3af45be74ab1138af5fb08a3795b50ea6 [20/39] irqchip: Add Loongson PCH LPC controller support
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/commit/?id=af86cbb3af45be74ab1138af5fb08a3795b50ea6
git remote add chenhuacai-linux-loongson https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git
git fetch --no-tags chenhuacai-linux-loongson loongarch-next
git checkout af86cbb3af45be74ab1138af5fb08a3795b50ea6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/irqchip/irq-loongson-pch-lpc.c: In function 'lpc_irq_dispatch':
drivers/irqchip/irq-loongson-pch-lpc.c:89:3: error: implicit declaration of function 'spurious_interrupt' [-Werror=implicit-function-declaration]
89 | spurious_interrupt();
| ^~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-loongson-pch-lpc.c: At top level:
>> drivers/irqchip/irq-loongson-pch-lpc.c:147:23: warning: no previous prototype for 'pch_lpc_acpi_init' [-Wmissing-prototypes]
147 | struct fwnode_handle *pch_lpc_acpi_init(struct fwnode_handle *parent,
| ^~~~~~~~~~~~~~~~~
drivers/irqchip/irq-loongson-pch-lpc.c: In function 'pch_lpc_acpi_init':
drivers/irqchip/irq-loongson-pch-lpc.c:187:20: error: 'GSI_MIN_PCH_IRQ' undeclared (first use in this function)
187 | fwspec.param[0] = GSI_MIN_PCH_IRQ + acpi_pchlpc->cascade;
| ^~~~~~~~~~~~~~~
drivers/irqchip/irq-loongson-pch-lpc.c:187:20: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/pch_lpc_acpi_init +147 drivers/irqchip/irq-loongson-pch-lpc.c
146
> 147 struct fwnode_handle *pch_lpc_acpi_init(struct fwnode_handle *parent,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69653 bytes --]
reply other threads:[~2021-06-28 23:16 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=202106290734.5CvTriLC-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.