* [linux-stable-rc:linux-3.14.y 1941/4977] include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
@ 2016-09-11 20:06 kbuild test robot
2016-09-11 20:47 ` Levin, Alexander
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2016-09-11 20:06 UTC (permalink / raw)
To: Sasha Levin
Cc: kbuild-all, Greg Kroah-Hartman, Andrew Morton,
Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 27549 bytes --]
Hi Sasha,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.14.y
head: b65f2f457c49b2cfd7967c34b7a0b04c25587f13
commit: 017ff97daa4a7892181a4dd315c657108419da0c [1941/4977] kernel: add support for gcc 5
config: mips-jz4740 (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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 017ff97daa4a7892181a4dd315c657108419da0c
# save the attached .config to linux build tree
make.cross ARCH=mips
All errors (new ones prefixed by >>):
In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/irq.c:19:
arch/mips/jz4740/irq.h:20:39: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_suspend(struct irq_data *data);
^
arch/mips/jz4740/irq.h:20:39: warning: its scope is only this definition or declaration, which is probably not what you want
arch/mips/jz4740/irq.h:21:38: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_resume(struct irq_data *data);
^
In file included from include/linux/irq.h:363:0,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/irq.c:19:
>> include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
extern struct irq_desc irq_desc[NR_IRQS];
^
arch/mips/jz4740/irq.c: In function 'jz4740_cascade':
arch/mips/jz4740/irq.c:49:39: error: 'JZ4740_IRQ_BASE' undeclared (first use in this function)
generic_handle_irq(__fls(irq_reg) + JZ4740_IRQ_BASE);
^
arch/mips/jz4740/irq.c:49:39: note: each undeclared identifier is reported only once for each function it appears in
arch/mips/jz4740/irq.c: At top level:
arch/mips/jz4740/irq.c:62:6: error: conflicting types for 'jz4740_irq_suspend'
void jz4740_irq_suspend(struct irq_data *data)
^
In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/irq.c:19:
arch/mips/jz4740/irq.h:20:13: note: previous declaration of 'jz4740_irq_suspend' was here
extern void jz4740_irq_suspend(struct irq_data *data);
^
arch/mips/jz4740/irq.c:68:6: error: conflicting types for 'jz4740_irq_resume'
void jz4740_irq_resume(struct irq_data *data)
^
In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/irq.c:19:
arch/mips/jz4740/irq.h:21:13: note: previous declaration of 'jz4740_irq_resume' was here
extern void jz4740_irq_resume(struct irq_data *data);
^
arch/mips/jz4740/irq.c: In function 'arch_init_irq':
arch/mips/jz4740/irq.c:91:41: error: 'JZ4740_IRQ_BASE' undeclared (first use in this function)
gc = irq_alloc_generic_chip("INTC", 1, JZ4740_IRQ_BASE, jz_intc_base,
^
--
In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/time.c:16:
arch/mips/jz4740/irq.h:20:39: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_suspend(struct irq_data *data);
^
arch/mips/jz4740/irq.h:20:39: warning: its scope is only this definition or declaration, which is probably not what you want
arch/mips/jz4740/irq.h:21:38: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_resume(struct irq_data *data);
^
In file included from include/linux/irq.h:363:0,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/time.c:16:
>> include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
extern struct irq_desc irq_desc[NR_IRQS];
^
--
In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/gpio.c:23:
arch/mips/jz4740/irq.h:20:39: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_suspend(struct irq_data *data);
^
arch/mips/jz4740/irq.h:20:39: warning: its scope is only this definition or declaration, which is probably not what you want
arch/mips/jz4740/irq.h:21:38: warning: 'struct irq_data' declared inside parameter list
extern void jz4740_irq_resume(struct irq_data *data);
^
In file included from include/linux/irq.h:363:0,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/jz4740/gpio.c:23:
>> include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
extern struct irq_desc irq_desc[NR_IRQS];
^
arch/mips/jz4740/gpio.c: In function 'gpio_to_irq':
>> arch/mips/jz4740/gpio.c:268:9: error: implicit declaration of function 'JZ4740_IRQ_GPIO' [-Werror=implicit-function-declaration]
return JZ4740_IRQ_GPIO(0) + gpio;
^
arch/mips/jz4740/gpio.c: At top level:
>> arch/mips/jz4740/gpio.c:43:32: error: initializer element is not constant
#define JZ4740_IRQ_GPIO_BASE_A (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_A)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_A'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:413:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(A),
^
arch/mips/jz4740/gpio.c:43:32: note: (near initialization for 'jz4740_gpio_chips[0].irq_base')
#define JZ4740_IRQ_GPIO_BASE_A (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_A)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_A'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:413:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(A),
^
arch/mips/jz4740/gpio.c:44:32: error: initializer element is not constant
#define JZ4740_IRQ_GPIO_BASE_B (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_B)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_B'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:414:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(B),
^
arch/mips/jz4740/gpio.c:44:32: note: (near initialization for 'jz4740_gpio_chips[1].irq_base')
#define JZ4740_IRQ_GPIO_BASE_B (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_B)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_B'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:414:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(B),
^
arch/mips/jz4740/gpio.c:45:32: error: initializer element is not constant
#define JZ4740_IRQ_GPIO_BASE_C (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_C)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_C'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:415:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(C),
^
arch/mips/jz4740/gpio.c:45:32: note: (near initialization for 'jz4740_gpio_chips[2].irq_base')
#define JZ4740_IRQ_GPIO_BASE_C (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_C)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_C'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:415:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(C),
^
arch/mips/jz4740/gpio.c:46:32: error: initializer element is not constant
#define JZ4740_IRQ_GPIO_BASE_D (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_D)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_D'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:416:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(D),
^
arch/mips/jz4740/gpio.c:46:32: note: (near initialization for 'jz4740_gpio_chips[3].irq_base')
#define JZ4740_IRQ_GPIO_BASE_D (JZ4740_IRQ_GPIO(0) + JZ4740_GPIO_BASE_D)
^
arch/mips/jz4740/gpio.c:399:14: note: in expansion of macro 'JZ4740_IRQ_GPIO_BASE_D'
.irq_base = JZ4740_IRQ_GPIO_BASE_ ## _bank, \
^
arch/mips/jz4740/gpio.c:416:2: note: in expansion of macro 'JZ4740_GPIO_CHIP'
JZ4740_GPIO_CHIP(D),
^
arch/mips/jz4740/gpio.c: In function 'jz4740_gpio_chip_init':
>> arch/mips/jz4740/gpio.c:426:14: error: implicit declaration of function 'JZ4740_IRQ_INTC_GPIO' [-Werror=implicit-function-declaration]
chip->irq = JZ4740_IRQ_INTC_GPIO(id);
^
arch/mips/jz4740/gpio.c:445:23: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
ct->chip.irq_suspend = jz4740_irq_suspend;
^
arch/mips/jz4740/gpio.c:446:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
ct->chip.irq_resume = jz4740_irq_resume;
^
cc1: some warnings being treated as errors
--
arch/mips/kernel/r4k_fpu.S: Assembler messages:
>> arch/mips/kernel/r4k_fpu.S:68: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
arch/mips/kernel/r4k_fpu.S:69: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
arch/mips/kernel/r4k_fpu.S:70: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
arch/mips/kernel/r4k_fpu.S:71: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
arch/mips/kernel/r4k_fpu.S:72: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
arch/mips/kernel/r4k_fpu.S:73: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
arch/mips/kernel/r4k_fpu.S:74: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
arch/mips/kernel/r4k_fpu.S:75: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
arch/mips/kernel/r4k_fpu.S:76: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
arch/mips/kernel/r4k_fpu.S:77: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
arch/mips/kernel/r4k_fpu.S:78: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
arch/mips/kernel/r4k_fpu.S:79: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f22,272+176($4)'
arch/mips/kernel/r4k_fpu.S:80: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f24,272+192($4)'
arch/mips/kernel/r4k_fpu.S:81: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f26,272+208($4)'
arch/mips/kernel/r4k_fpu.S:82: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f28,272+224($4)'
arch/mips/kernel/r4k_fpu.S:83: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f30,272+240($4)'
>> arch/mips/kernel/r4k_fpu.S:178: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f0,272+0($4)'
arch/mips/kernel/r4k_fpu.S:179: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f2,272+16($4)'
arch/mips/kernel/r4k_fpu.S:180: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f4,272+32($4)'
arch/mips/kernel/r4k_fpu.S:181: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f6,272+48($4)'
arch/mips/kernel/r4k_fpu.S:182: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f8,272+64($4)'
arch/mips/kernel/r4k_fpu.S:183: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f10,272+80($4)'
arch/mips/kernel/r4k_fpu.S:184: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f12,272+96($4)'
arch/mips/kernel/r4k_fpu.S:185: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f14,272+112($4)'
arch/mips/kernel/r4k_fpu.S:186: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f16,272+128($4)'
arch/mips/kernel/r4k_fpu.S:187: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f18,272+144($4)'
arch/mips/kernel/r4k_fpu.S:188: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f20,272+160($4)'
arch/mips/kernel/r4k_fpu.S:189: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f22,272+176($4)'
arch/mips/kernel/r4k_fpu.S:190: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f24,272+192($4)'
arch/mips/kernel/r4k_fpu.S:191: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f26,272+208($4)'
arch/mips/kernel/r4k_fpu.S:192: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f28,272+224($4)'
arch/mips/kernel/r4k_fpu.S:193: Error: opcode not supported on this processor: mips3 (mips3) `ldc1 $f30,272+240($4)'
--
arch/mips/kernel/r4k_switch.S: Assembler messages:
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f0,952($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f2,968($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f4,984($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f6,1000($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f8,1016($4)'
>> arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f10,1032($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f12,1048($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f14,1064($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f16,1080($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f18,1096($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f20,1112($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f22,1128($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f24,1144($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f26,1160($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f28,1176($4)'
arch/mips/kernel/r4k_switch.S:67: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f30,1192($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f0,952($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f2,968($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f4,984($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f6,1000($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f8,1016($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f10,1032($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f12,1048($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f14,1064($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f16,1080($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f18,1096($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f20,1112($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f22,1128($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f24,1144($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f26,1160($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f28,1176($4)'
arch/mips/kernel/r4k_switch.S:129: Error: opcode not supported on this processor: mips32 (mips32) `sdc1 $f30,1192($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f0,952($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f2,968($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f4,984($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f6,1000($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f8,1016($4)'
>> arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f10,1032($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f12,1048($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f14,1064($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f16,1080($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f18,1096($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f20,1112($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f22,1128($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f24,1144($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f26,1160($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f28,1176($4)'
arch/mips/kernel/r4k_switch.S:140: Error: opcode not supported on this processor: mips32 (mips32) `ldc1 $f30,1192($4)'
arch/mips/kernel/r4k_switch.S:199: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f0'
arch/mips/kernel/r4k_switch.S:200: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f1'
arch/mips/kernel/r4k_switch.S:201: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f2'
arch/mips/kernel/r4k_switch.S:202: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f3'
arch/mips/kernel/r4k_switch.S:203: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f4'
arch/mips/kernel/r4k_switch.S:204: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f5'
arch/mips/kernel/r4k_switch.S:205: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f6'
arch/mips/kernel/r4k_switch.S:206: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f7'
arch/mips/kernel/r4k_switch.S:207: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f8'
arch/mips/kernel/r4k_switch.S:208: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f9'
arch/mips/kernel/r4k_switch.S:209: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f10'
arch/mips/kernel/r4k_switch.S:210: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f11'
arch/mips/kernel/r4k_switch.S:211: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f12'
arch/mips/kernel/r4k_switch.S:212: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f13'
arch/mips/kernel/r4k_switch.S:213: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f14'
arch/mips/kernel/r4k_switch.S:214: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f15'
arch/mips/kernel/r4k_switch.S:215: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f16'
arch/mips/kernel/r4k_switch.S:216: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f17'
arch/mips/kernel/r4k_switch.S:217: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f18'
arch/mips/kernel/r4k_switch.S:218: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f19'
arch/mips/kernel/r4k_switch.S:219: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f20'
arch/mips/kernel/r4k_switch.S:220: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f21'
arch/mips/kernel/r4k_switch.S:221: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f22'
arch/mips/kernel/r4k_switch.S:222: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f23'
arch/mips/kernel/r4k_switch.S:223: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f24'
arch/mips/kernel/r4k_switch.S:224: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f25'
arch/mips/kernel/r4k_switch.S:225: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f26'
arch/mips/kernel/r4k_switch.S:226: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f27'
arch/mips/kernel/r4k_switch.S:227: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f28'
arch/mips/kernel/r4k_switch.S:228: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f29'
arch/mips/kernel/r4k_switch.S:229: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f30'
arch/mips/kernel/r4k_switch.S:230: Error: opcode not supported on this processor: mips32 (mips32) `mtc1 $9,$f31'
vim +/NR_IRQS +80 include/linux/irqdesc.h
e144710b Thomas Gleixner 2010-10-01 64 #ifdef CONFIG_GENERIC_PENDING_IRQ
e144710b Thomas Gleixner 2010-10-01 65 cpumask_var_t pending_mask;
e144710b Thomas Gleixner 2010-10-01 66 #endif
e144710b Thomas Gleixner 2010-10-01 67 #endif
b5faba21 Thomas Gleixner 2011-02-23 68 unsigned long threads_oneshot;
e144710b Thomas Gleixner 2010-10-01 69 atomic_t threads_active;
e144710b Thomas Gleixner 2010-10-01 70 wait_queue_head_t wait_for_threads;
e144710b Thomas Gleixner 2010-10-01 71 #ifdef CONFIG_PROC_FS
e144710b Thomas Gleixner 2010-10-01 72 struct proc_dir_entry *dir;
e144710b Thomas Gleixner 2010-10-01 73 #endif
293a7a0a Thomas Gleixner 2012-10-16 74 int parent_irq;
b6873807 Sebastian Andrzej Siewior 2011-07-11 75 struct module *owner;
e144710b Thomas Gleixner 2010-10-01 76 const char *name;
e144710b Thomas Gleixner 2010-10-01 77 } ____cacheline_internodealigned_in_smp;
e144710b Thomas Gleixner 2010-10-01 78
e144710b Thomas Gleixner 2010-10-01 79 #ifndef CONFIG_SPARSE_IRQ
e144710b Thomas Gleixner 2010-10-01 @80 extern struct irq_desc irq_desc[NR_IRQS];
e144710b Thomas Gleixner 2010-10-01 81 #endif
e144710b Thomas Gleixner 2010-10-01 82
d9936bb3 Thomas Gleixner 2011-03-11 83 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc)
d9936bb3 Thomas Gleixner 2011-03-11 84 {
d9936bb3 Thomas Gleixner 2011-03-11 85 return &desc->irq_data;
d9936bb3 Thomas Gleixner 2011-03-11 86 }
d9936bb3 Thomas Gleixner 2011-03-11 87
a0cd9ca2 Thomas Gleixner 2011-02-10 88 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc)
:::::: The code at line 80 was first introduced by commit
:::::: e144710b302525de5b90b9c3ba43562458d8957f genirq: Distangle irq.h
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 16170 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-stable-rc:linux-3.14.y 1941/4977] include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
2016-09-11 20:06 [linux-stable-rc:linux-3.14.y 1941/4977] include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function) kbuild test robot
@ 2016-09-11 20:47 ` Levin, Alexander
2016-09-11 23:44 ` Fengguang Wu
0 siblings, 1 reply; 3+ messages in thread
From: Levin, Alexander @ 2016-09-11 20:47 UTC (permalink / raw)
To: kbuild test robot
Cc: Levin, Alexander, kbuild-all, Greg Kroah-Hartman, Andrew Morton,
Linux Memory Management List
On Sun, Sep 11, 2016 at 04:06:50PM -0400, kbuild test robot wrote:
> Hi Sasha,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.14.y
> head: b65f2f457c49b2cfd7967c34b7a0b04c25587f13
> commit: 017ff97daa4a7892181a4dd315c657108419da0c [1941/4977] kernel: add support for gcc 5
Please make it stop :(
I've introduced a commit to support gcc 5, and I'm guessing that in turn your build system now probably builds using gcc 5 for anything past that point, right?
This causes new errors/warnings which appear to be caused by my commit, but obviously aren't.
Can you please make the build system just ignore this commit if it gets bisected?
--
Thanks,
Sasha
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-stable-rc:linux-3.14.y 1941/4977] include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function)
2016-09-11 20:47 ` Levin, Alexander
@ 2016-09-11 23:44 ` Fengguang Wu
0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2016-09-11 23:44 UTC (permalink / raw)
To: Levin, Alexander
Cc: kbuild-all, Greg Kroah-Hartman, Andrew Morton,
Linux Memory Management List
Hi Sasha,
On Sun, Sep 11, 2016 at 04:47:31PM -0400, Levin, Alexander wrote:
>On Sun, Sep 11, 2016 at 04:06:50PM -0400, kbuild test robot wrote:
>> Hi Sasha,
>>
>> FYI, the error/warning still remains.
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.14.y
>> head: b65f2f457c49b2cfd7967c34b7a0b04c25587f13
>> commit: 017ff97daa4a7892181a4dd315c657108419da0c [1941/4977] kernel: add support for gcc 5
>
>Please make it stop :(
>
>I've introduced a commit to support gcc 5, and I'm guessing that in turn your build system now probably builds using gcc 5 for anything past that point, right?
Yes, many "hidden" error/warnings show up after that commit. I'll
ignore bisects to this commit.
>This causes new errors/warnings which appear to be caused by my commit, but obviously aren't.
>
>Can you please make the build system just ignore this commit if it gets bisected?
Yes, sure. Sorry for the noises!
Cheers,
Fengguang
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-11 23:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11 20:06 [linux-stable-rc:linux-3.14.y 1941/4977] include/linux/irqdesc.h:80:33: error: 'NR_IRQS' undeclared here (not in a function) kbuild test robot
2016-09-11 20:47 ` Levin, Alexander
2016-09-11 23:44 ` Fengguang Wu
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.