diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-24 01:29:11 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-01 00:32:41 +0300 |
commit | 8363dae23463df5d27aa3f3430ad64f5c8fcee3e (patch) | |
tree | dd55b8c4c936c9d6a7131a476caddfbeb478dda7 /arch/m32r | |
parent | f58e76c1c551c7577b25a6fe493d82f5214331b7 (diff) | |
download | linux-8363dae23463df5d27aa3f3430ad64f5c8fcee3e.tar.xz |
compat_hdio_ioctl: Fix a declaration
This patch avoids that sparse reports the following warning messages:
block/compat_ioctl.c:85:11: warning: incorrect type in assignment (different address spaces)
block/compat_ioctl.c:85:11: expected unsigned long *[noderef] <asn:1>p
block/compat_ioctl.c:85:11: got void [noderef] <asn:1>*
block/compat_ioctl.c:91:21: warning: incorrect type in argument 1 (different address spaces)
block/compat_ioctl.c:91:21: expected void const volatile [noderef] <asn:1>*<noident>
block/compat_ioctl.c:91:21: got unsigned long *[noderef] <asn:1>p
block/compat_ioctl.c:87:53: warning: dereference of noderef expression
block/compat_ioctl.c:91:21: warning: dereference of noderef expression
Fixes: commit d597580d3737 ("generic ...copy_..._user primitives")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions