diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-05-19 06:07:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-19 17:40:29 +0200 |
commit | c8210a57655a64c0a9b53c58c2ad5d8426c15097 (patch) | |
tree | 2116ac5c0249ca62a0b13900220732d3079df84b /block/keyslot-manager.c | |
parent | block: merge part_{inc,dev}_in_flight into their only callers (diff) | |
download | linux-c8210a57655a64c0a9b53c58c2ad5d8426c15097.tar.xz linux-c8210a57655a64c0a9b53c58c2ad5d8426c15097.zip |
block: Fix type of first compat_put_{,u}long() argument
This patch fixes the following sparse warnings:
block/ioctl.c:209:16: warning: incorrect type in argument 1 (different address spaces)
block/ioctl.c:209:16: expected void const volatile [noderef] <asn:1> *
block/ioctl.c:209:16: got signed int [usertype] *argp
block/ioctl.c:214:16: warning: incorrect type in argument 1 (different address spaces)
block/ioctl.c:214:16: expected void const volatile [noderef] <asn:1> *
block/ioctl.c:214:16: got unsigned int [usertype] *argp
block/ioctl.c:666:40: warning: incorrect type in argument 1 (different address spaces)
block/ioctl.c:666:40: expected signed int [usertype] *argp
block/ioctl.c:666:40: got void [noderef] <asn:1> *argp
block/ioctl.c:672:41: warning: incorrect type in argument 1 (different address spaces)
block/ioctl.c:672:41: expected unsigned int [usertype] *argp
block/ioctl.c:672:41: got void [noderef] <asn:1> *argp
Fixes: 9b81648cb5e3 ("compat_ioctl: simplify up block/ioctl.c")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/keyslot-manager.c')
0 files changed, 0 insertions, 0 deletions