Re: [PATCH 2/2] compat_hdio_ioctl: Fix a declaration

2017-08-24 Thread Jens Axboe
On 08/23/2017 04:29 PM, Bart Van Assche wrote: > 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] p > block/co

[PATCH 2/2] compat_hdio_ioctl: Fix a declaration

2017-08-23 Thread Bart Van Assche
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] p block/compat_ioctl.c:85:11:got void [noderef] * block/compat_io