misc: xilinx_sdfec: add compat_ptr_ioctl()
authorHarshal Chaudhari <harshalchau04@gmail.com>
Mon, 26 Oct 2020 15:58:01 +0000 (21:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 07:37:36 +0000 (08:37 +0100)
commit3f7566f4947834db9b36aeb8b308e91448ba74fc
tree76649ce1fd3132491ee6d15e1790233e1a310149
parentb36773c3912e770e92ba57fa0957c1cf4db6e8a7
misc: xilinx_sdfec: add compat_ptr_ioctl()

Driver has a trivial helper function to convert
the pointer argument and then call the native ioctl handler.
But now we have a generic implementation for that, so we can use it.

Signed-off-by: Harshal Chaudhari <harshalchau04@gmail.com>
Link: https://lore.kernel.org/r/20201026155801.16053-1-harshalchau04@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/xilinx_sdfec.c