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