[PATCH v2 03/17] compat_ioctl: use correct compat_ptr() translation in drivers
Felipe Balbi
balbi at kernel.org
Thu Sep 13 21:03:18 AEST 2018
Arnd Bergmann <arnd at arndb.de> writes:
> A handful of drivers all have a trivial wrapper around their ioctl
> handler, but don't call the compat_ptr() conversion function at the
> moment. In practice this does not matter, since none of them are used
> on the s390 architecture and for all other architectures, compat_ptr()
> does not do anything, but using the new generic_compat_ioctl_ptrarg
> helper makes it more correct in theory, and simplifies the code.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Felipe Balbi <felipe.balbi at linux.intel.com>
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20180913/2549f61e/attachment-0001.sig>
More information about the Linuxppc-dev
mailing list