All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2021-06-28 23:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-28 23:16 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-28 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28 23:16 [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' kernel test robot

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.