]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Fix put_user() calls in binfmt_aout32.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 1 Oct 2007 00:00:34 +0000 (17:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 1 Oct 2007 00:00:34 +0000 (17:00 -0700)
commit8cc8c28a9acdceda0e60519167a052cc3408c5c3
tree06c73a0904e4fa51d95cb51054312e72435e1a87
parent9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0
[SPARC64]: Fix put_user() calls in binfmt_aout32.c

argv and envp are pointers to u32's in userspace, so don't
try to put_user() a NULL to them.

Aparently gcc-4.2.x now warns about this, and since we use
-Werror for arch/sparc64 code, this breaks the build.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/binfmt_aout32.c