2007-08-06 12:21:56

by Oliver Falk

[permalink] [raw]
Subject: Alpha Kernel -Werror compilation problem...

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