Skip to contentSkip to conversation

Alpha Kernel -Werror compilation problem...

DISCUSSION Oliver Falk 1 participant 1 message Aug 6, 2007

lore
Share & tools
lore
#0 lore raw

Hi!

It seems somewhere in 2.6.23 -Werror has been added to arch/alpha/kernel/Makefile.

That's bad, because of the following:

CC arch/alpha/kernel/sys_titan.o
cc1: warnings being treated as errors arch/alpha/kernel/sys_titan.c: In function ‘titan_late_init’:
arch/alpha/kernel/sys_titan.c:281: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c:283: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c:285: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c:287: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c:289: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c: In function ‘privateer_init_pci’:
arch/alpha/kernel/sys_titan.c:348: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result arch/alpha/kernel/sys_titan.c:350: warning: ignoring return value of ‘request_irq’, declared with attribute warn_unused_result make[1]: *** [arch/alpha/kernel/sys_titan.o] Error 1
make: *** [arch/alpha/kernel] Error 2

I don't know if something else would also fail. Well yes, we could fix the warning also - anyone has time for it? :-)

Best,
Oliver