[PATCH] arm64: fix missing __user in compat_vfp_{get,set}()

Luc Van Oostenryck luc.vanoostenryck at gmail.com
Wed Jun 28 09:24:23 PDT 2017


On Wed, Jun 28, 2017 at 04:22:22PM +0100, Dave Martin wrote:
> (There remains a sparse warning in compat_ptrace_write_user(), where we
> pass implicitly cast __user onto a pointer, under set_fs(KERNEL_DS).
> I'm not sure what the most correct fix is there.)

Yes, I saw.
There is no pretty solution for things like here:
you can't adjust the type, you're forced to make a cast,
explicit or implicit.


Regards,
-- Luc



More information about the linux-arm-kernel mailing list