Re: [irqchip: irq/irqchip-next] MIPS: Do not include linux/irqdomain.h from asm/irq.h

From: kernel test robot
Date: Sun Jun 06 2021 - 11:33:24 EST


Hi irqchip-bot,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on linus/master v5.13-rc4 next-20210604]
[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/irqchip-bot-for-Marc-Zyngier/MIPS-Do-not-include-linux-irqdomain-h-from-asm-irq-h/20210606-205208
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git dd860052c99b1e088352bdd4fb7aef46f8d2ef47
config: mips-xway_defconfig (attached as .config)
compiler: mips-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://github.com/0day-ci/linux/commit/09879bee8f56d44f0bd49d7dba858ff743a608bf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review irqchip-bot-for-Marc-Zyngier/MIPS-Do-not-include-linux-irqdomain-h-from-asm-irq-h/20210606-205208
git checkout 09879bee8f56d44f0bd49d7dba858ff743a608bf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> arch/mips/lantiq/xway/dma.c:243:34: error: array type has incomplete element type 'struct of_device_id'
243 | static const struct of_device_id dma_match[] = {
| ^~~~~~~~~
>> arch/mips/lantiq/xway/dma.c:244:4: error: field name not in record or union initializer
244 | { .compatible = "lantiq,dma-xway" },
| ^
arch/mips/lantiq/xway/dma.c:244:4: note: (near initialization for 'dma_match')
arch/mips/lantiq/xway/dma.c:257:1: warning: no previous prototype for 'dma_init' [-Wmissing-prototypes]
257 | dma_init(void)
| ^~~~~~~~
arch/mips/lantiq/xway/dma.c:243:34: warning: 'dma_match' defined but not used [-Wunused-variable]
243 | static const struct of_device_id dma_match[] = {
| ^~~~~~~~~


vim +243 arch/mips/lantiq/xway/dma.c

dfec1a827d2bdc John Crispin 2011-05-06 242
ddd4eeca961cc6 John Crispin 2012-04-12 @243 static const struct of_device_id dma_match[] = {
ddd4eeca961cc6 John Crispin 2012-04-12 @244 { .compatible = "lantiq,dma-xway" },
ddd4eeca961cc6 John Crispin 2012-04-12 245 {},
ddd4eeca961cc6 John Crispin 2012-04-12 246 };
ddd4eeca961cc6 John Crispin 2012-04-12 247

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip