]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[PATCH] put_compat_shminfo() warning fix
authorJesse Millan <jessem@cs.pdx.edu>
Fri, 8 Jul 2005 00:57:01 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:46 +0000 (18:23 -0700)
commit214a627cb401284f87cca7e1510a0f4284f1a17c
tree5b6724028b520fa4002a5a9e752a90cd3d179522
parentff87b37da912d6aeab6c20c58f51b34d3e37f111
[PATCH] put_compat_shminfo() warning fix

GCC 4 complains because the function put_compat_shminfo() can't get to its
return statement if there is no error...  If the function does not return
-EFAULT, it doesn't return anything at all.  Looks like a typo.

Signed-off-by: Jesse Millan <jessem@cs.pdx.edu>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ipc/compat.c