summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton2010-03-05 22:43:19 +0100
committerLinus Torvalds2010-03-06 20:26:35 +0100
commit45bf5cd7be624712ef1591e9de71f0ff7ad21cf1 (patch)
treedfd51f59aad8a742462da0604ed8bd121a9833a1 /drivers
parentbitmap: use for_each_set_bit() (diff)
downloadkernel-qcow2-linux-45bf5cd7be624712ef1591e9de71f0ff7ad21cf1.tar.gz
kernel-qcow2-linux-45bf5cd7be624712ef1591e9de71f0ff7ad21cf1.tar.xz
kernel-qcow2-linux-45bf5cd7be624712ef1591e9de71f0ff7ad21cf1.zip
fs/compat_ioctl.c: suppress two warnings
fs/compat_ioctl.c: In function 'do_ioctl_trans': fs/compat_ioctl.c:534: warning: 'karg' may be used uninitialized in this function fs/compat_ioctl.c:533: warning: 'kcmd' may be used uninitialized in this function fs/compat_ioctl.c:656: warning: 'ret' may be used uninitialized in this function Reduces text size by 44 bytes. If someone calls one of these functions with an unexpected argument, the code's buggy as-is. Amerigo Wang <amwang@redhat.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions