From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH V6 10/10] irqchip: Add Loongson PCH LPC controller support
Date: Tue, 12 Oct 2021 13:58:34 +0800 [thread overview]
Message-ID: <202110121320.yhMRIjbO-lkp@intel.com> (raw)
In-Reply-To: <20211011083405.861416-11-chenhuacai@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 4167 bytes --]
Hi Huacai,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/irq/core]
[also build test WARNING on linux/master linus/master v5.15-rc5 next-20211011]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20211011-164738
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git b70e13885cf63b6f99cbd9a1dbb6beaa2622bf68
config: mips-loongson2k_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/2bea942946e85ba99a5ff261f18347f2b36b8742
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20211011-164738
git checkout 2bea942946e85ba99a5ff261f18347f2b36b8742
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/irqchip/
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:149:48: warning: 'struct acpi_madt_lpc_pic' declared inside parameter list will not be visible outside of this definition or declaration
149 | struct acpi_madt_lpc_pic *acpi_pchlpc)
| ^~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-loongson-pch-lpc.c:148:20: warning: no previous prototype for 'pch_lpc_acpi_init' [-Wmissing-prototypes]
148 | struct irq_domain *pch_lpc_acpi_init(struct irq_domain *parent,
| ^~~~~~~~~~~~~~~~~
In file included from arch/mips/include/asm/mmiowb.h:5,
from include/linux/spinlock.h:65,
from include/linux/wait.h:9,
from include/linux/pid.h:6,
from include/linux/sched.h:14,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from drivers/irqchip/irq-loongson-pch-lpc.c:10:
drivers/irqchip/irq-loongson-pch-lpc.c: In function 'pch_lpc_acpi_init':
drivers/irqchip/irq-loongson-pch-lpc.c:164:41: error: invalid use of undefined type 'struct acpi_madt_lpc_pic'
164 | priv->base = ioremap(acpi_pchlpc->address, acpi_pchlpc->size);
| ^~
arch/mips/include/asm/io.h:180:23: note: in definition of macro 'ioremap'
180 | ioremap_prot((offset), (size), _CACHE_UNCACHED)
| ^~~~~~
drivers/irqchip/irq-loongson-pch-lpc.c:164:63: error: invalid use of undefined type 'struct acpi_madt_lpc_pic'
164 | priv->base = ioremap(acpi_pchlpc->address, acpi_pchlpc->size);
| ^~
arch/mips/include/asm/io.h:180:33: note: in definition of macro 'ioremap'
180 | ioremap_prot((offset), (size), _CACHE_UNCACHED)
| ^~~~
drivers/irqchip/irq-loongson-pch-lpc.c:187:38: error: invalid use of undefined type 'struct acpi_madt_lpc_pic'
187 | fwspec.param[0] = acpi_pchlpc->cascade;
| ^~
vim +149 drivers/irqchip/irq-loongson-pch-lpc.c
147
> 148 struct irq_domain *pch_lpc_acpi_init(struct irq_domain *parent,
> 149 struct acpi_madt_lpc_pic *acpi_pchlpc)
---
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: 30746 bytes --]
prev parent reply other threads:[~2021-10-12 5:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 8:33 [PATCH V6 00/10] irqchip: Add LoongArch-related irqchip drivers Huacai Chen
2021-10-11 8:33 ` [PATCH V6 01/10] irqchip: Adjust Kconfig for Loongson Huacai Chen
2021-10-11 8:33 ` [PATCH V6 02/10] irqchip/loongson-pch-pic: Add ACPI init support Huacai Chen
2021-10-11 8:33 ` [PATCH V6 03/10] irqchip/loongson-pch-pic: Add suspend/resume support Huacai Chen
2021-10-11 8:33 ` [PATCH V6 04/10] irqchip/loongson-pch-msi: Add ACPI init support Huacai Chen
2021-10-12 3:49 ` kernel test robot
2021-10-11 8:34 ` [PATCH V6 05/10] irqchip/loongson-htvec: " Huacai Chen
2021-10-11 8:34 ` [PATCH V6 06/10] irqchip/loongson-htvec: Add suspend/resume support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 07/10] irqchip/loongson-liointc: Add ACPI init support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 08/10] irqchip: Add LoongArch CPU interrupt controller support Huacai Chen
2021-10-11 8:34 ` [PATCH V6 09/10] irqchip: Add Loongson Extended I/O " Huacai Chen
2021-10-11 8:34 ` [PATCH V6 10/10] irqchip: Add Loongson PCH LPC " Huacai Chen
2021-10-12 5:58 ` kernel test robot [this message]
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=202110121320.yhMRIjbO-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.