Re: [Patch] kbuild: fix a compile warning

From: Sam Ravnborg
Date: Fri Jun 05 2009 - 18:06:36 EST


On Fri, May 15, 2009 at 03:51:18AM -0400, Amerigo Wang wrote:
>
> I got this warning:
>
> HOSTCC scripts/basic/fixdep
> scripts/basic/fixdep.c: In function 'traps':
> scripts/basic/fixdep.c:377: warning: dereferencing type-punned pointer will break strict-aliasing rules
> scripts/basic/fixdep.c:379: warning: dereferencing type-punned pointer will break strict-aliasing rules
>
> Patch below fixes it.

We do not use -fno-strict-aliasing at userspace, so fix seems ok.
Applied.

Sam
--
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/