fs: compat: Remove warning from COMPATIBLE_IOCTL
authorMark Charlebois <charlebm@gmail.com>
Fri, 28 Apr 2017 22:15:12 +0000 (15:15 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Apr 2017 21:47:19 +0000 (17:47 -0400)
commit9280cdd6fe5b8287a726d24cc1d558b96c8491d7
tree9666c993debd9033edef4169f4987d1695c10fcf
parent0b33540f9d751b565c270d23a077ee6d9fc9e1d5
fs: compat: Remove warning from COMPATIBLE_IOCTL

cmd in COMPATIBLE_IOCTL is always a u32, so cast it so there isn't a
warning about an overflow in XFORM.

From: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/compat_ioctl.c