[Linux-stm32] [PATCH v3 09/26] compat_ioctl: move drivers to compat_ptr_ioctl
Jiri Kosina
jikos at kernel.org
Tue Apr 16 20:31:24 UTC 2019
On Tue, 16 Apr 2019, Arnd Bergmann wrote:
> Each of these drivers has a copy of the same trivial helper function to
> convert the pointer argument and then call the native ioctl handler.
>
> We now have a generic implementation of that, so use it.
>
> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> Reviewed-by: Jason Gunthorpe <jgg at mellanox.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> drivers/char/ppdev.c | 12 +---------
> drivers/char/tpm/tpm_vtpm_proxy.c | 12 +---------
> drivers/firewire/core-cdev.c | 12 +---------
> drivers/hid/usbhid/hiddev.c | 11 +--------
For hiddev.c:
Reviewed-by: Jiri Kosina <jkosina at suse.cz>
--
Jiri Kosina
SUSE Labs
More information about the Linux-stm32
mailing list