On Sat, May 16, 2020 at 2:19 AM Bart Van Assche <bvanassche@xxxxxxx> wrote: > > 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 > > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Fixes: 9b81648cb5e3 ("compat_ioctl: simplify up block/ioctl.c") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Thanks for the fix! Acked-by: Arnd Bergmann <arnd@xxxxxxxx>