Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds
From: Thomas Gleixner
Date: Sun Feb 28 2016 - 04:34:13 EST
- Next message: Geert Uytterhoeven: "Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Previous message: Thomas Gleixner: "Re: Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k"
- In reply to: kbuild test robot: "kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Next in thread: Geert Uytterhoeven: "Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 28 Feb 2016, kbuild test robot wrote:
> Hi Thomas,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 691429e13dfaf5b0994b07cc166db41bd608ee3d
> commit: 3795de236d67a05994a1a12759db9d4dd9ffc42c genirq: Distangle kernel/irq/handle.c
> date: 5 years ago
> config: m68k-alldefconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 3795de236d67a05994a1a12759db9d4dd9ffc42c
> # save the attached .config to linux build tree
> make.cross ARCH=m68k
Again. This commit is just moving code into seperate files without changing
the code. So it's not a new wreckage.
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/irqnr.h:10:0,
> from include/linux/irq.h:22,
> from kernel/irq/irqdesc.c:10:
> arch/m68k/include/asm/irq.h:25:17: error: expected identifier or '(' before numeric constant
> #define NR_IRQS 0
> ^
NR_IRQS = 0 and CONFIG_SPARSE_IRQ=n is bogus. That alldefconfig of m68k is
broken. Cc'ed m68 folks
Thanks,
tglx
- Next message: Geert Uytterhoeven: "Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Previous message: Thomas Gleixner: "Re: Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k"
- In reply to: kbuild test robot: "kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Next in thread: Geert Uytterhoeven: "Re: kernel/irq/irqdesc.c:206:2: error: array index in initializer exceeds array bounds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]