diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-22 01:45:28 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-10-23 18:15:57 +0300 |
commit | 34d3d0e65e3a84bc76e75431528e41f9f94bd6cf (patch) | |
tree | b425040169ee54dc5f8eaf0d2d338c7a079ac2bd /include | |
parent | bf0a199b065c63ee21c1729d208e408404315f26 (diff) | |
download | linux-34d3d0e65e3a84bc76e75431528e41f9f94bd6cf.tar.xz |
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 'include')
0 files changed, 0 insertions, 0 deletions