]> git.baikalelectronics.ru Git - kernel.git/commit
autofs: use unsigned int/long instead of uint/ulong for ioctl args
authorTomohiro Kusumi <tkusumi@tuxera.com>
Fri, 8 Sep 2017 23:16:47 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Sep 2017 01:26:50 +0000 (18:26 -0700)
commitfa87873b86f684b234be1cc7e76c299a62db04d0
tree72690a699c887e830746a3b55b767b4f6105a055
parent3bffc4df602b5bdfb5030bdb2d056718ae770e30
autofs: use unsigned int/long instead of uint/ulong for ioctl args

The standard types unsigned int and unsigned long should be used for
.compat_ioctl.  autofs is the only fs using uing/ulong for this, and these
are even the only uint/ulong in the entire autofs code.

Drop unneeded long cast in return value of autofs_dev_ioctl_compat().
It's already long.

Link: http://lkml.kernel.org/r/150285069709.4670.3884827966280147529.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/dev-ioctl.c