]> git.baikalelectronics.ru Git - kernel.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)
commitc0214008ee767af5a06b1bf1123bba2ea6dfb817
tree06c73a0904e4fa51d95cb51054312e72435e1a87
parent71323dd86561c48d301b1db4fb90c8221bdda21c
[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