[PATCH] modpost: Fix section warnings for ARM for many compilers

Rusty Russell rusty at rustcorp.com.au
Mon Feb 13 19:29:12 EST 2012


On Mon, 13 Feb 2012 22:51:18 +0000, Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
> On Mon, Feb 13, 2012 at 11:26:52PM +0100, Uwe Kleine-König wrote:
> > On Mon, Feb 13, 2012 at 01:24:01PM -0800, Tony Lindgren wrote:
> > Maybe:
> > 
> > #ifndef R_ARM_CALL
> > #warning "you're elf.h include is outdated"
> 
> "You are elf.h include is outdated" does not make sense.
> 
> Why are you calling Tony an elf.h include?

Because he knew it would attract the attention of pedants to the patch?
:)

Just do the #ifndef, and skip the warning.  There's not much the poor
user receiving the warning can do about it.

Acked-by: Rusty Russell <rusty at rustcorp.com.au>

Thanks,
Rusty.



More information about the linux-arm-kernel mailing list