Alpha Kernel -Werror compilation problem...

From: Oliver Falk
Date: Mon Aug 06 2007 - 08:21:57 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/