summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-04-21 18:45:28 -0400
committerArnd Bergmann <arnd@arndb.de>2019-10-23 17:15:57 +0200
commit34d3d0e65e3a84bc76e75431528e41f9f94bd6cf (patch)
treeb425040169ee54dc5f8eaf0d2d338c7a079ac2bd /usr
parentbf0a199b065c63ee21c1729d208e408404315f26 (diff)
downloadlinux-34d3d0e65e3a84bc76e75431528e41f9f94bd6cf.tar.gz
linux-34d3d0e65e3a84bc76e75431528e41f9f94bd6cf.tar.bz2
linux-34d3d0e65e3a84bc76e75431528e41f9f94bd6cf.zip
do_vfs_ioctl(): use saner types
casting to pointer to int, only to pass that to function that takes pointer to void and uses it as pointer to structure is really asking for trouble. "Some pointer, I'm not sure what to" is spelled "void *", not "int *"; use that. And declare the functions we are passing that pointer to as taking the pointer to what they really want to access. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions