kbuild: fix a compile warning
authorAmerigo Wang <amwang@redhat.com>
Wed, 10 Jun 2009 19:48:23 +0000 (12:48 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 14 Jun 2009 20:36:23 +0000 (22:36 +0200)
commitd067aa741589a9783cc43315119e0f431b4e382c
tree2dbfbd85123be195e0ca3bf5365f6a16995f8f03
parentf2ac5e78928bf94118b4d4911166a02e8a87d3ea
kbuild: fix a compile warning

gcc-4.4.1:

 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

(Apparently -fno-strict-aliasing will fix this too)

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/basic/fixdep.c