]> git.hungrycats.org Git - linux/commit
[PATCH] Fix more gcc 3.4 warnings
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:32:27 +0000 (18:32 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:32:27 +0000 (18:32 -0800)
commitd75cb1840b2c95fcfa740a9e6b350ae44c9fbb46
tree05efcddd2d34b6af38fac0df418d4069dae2ec0a
parent6067797897b65d169561e66a4f01ac9030d4bbee
[PATCH] Fix more gcc 3.4 warnings

From: Andi Kleen <ak@muc.de>

Just many more warning fixes for a gcc 3.4 snapshot.

It warns for a lot of things now, e.g.  for ?: and ({ ...  }) and casts as
lvalues.  And for functions marked inline in headers, but no body.

Actually there are more warnings, i stopped fixing at some point.  Some of
the warnings seem to be dubious (e.g.  the binfmt_elf.c one, which looks
more like a compiler bug to me)

I also fixed the _exit() prototype to be void because gcc was complaining
about this.
12 files changed:
drivers/ieee1394/highlevel.c
fs/compat_ioctl.c
fs/ext3/namei.c
fs/readdir.c
include/asm-i386/apic.h
include/asm-i386/hw_irq.h
include/asm-i386/unistd.h
include/linux/efi.h
include/linux/reiserfs_fs.h
include/linux/sched.h
kernel/fork.c
lib/crc32.c