aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <[email protected]>2019-12-09 22:37:19 +0100
committerGreg Kroah-Hartman <[email protected]>2020-01-14 15:16:51 +0100
commita6b07e89fd8530b943217ccd4909d1bf65acc45d (patch)
tree08719a0ffe01dfdebd13ce06465bfed6d6967bb6 /lib/mpi/mpi-cmp.c
parentb0bd9ae346f06e1725c3aa29cfb37c81231ffd82 (diff)
misc: xilinx_sdfec: add missing __user annotation
The second arg of xsdfec_set_order() is a 'void __user *' and this pointer is then used in get_user() which expect a __user pointer. But get_user() can't be used with a void pointer, it a pointer to the effective type. This is done here by casting the argument to a pointer to the effective type but the __user is missing in the cast. Fix this by adding the missing __user in the cast. CC: Derek Kiernan <[email protected]> CC: Dragan Cvetic <[email protected]> Signed-off-by: Luc Van Oostenryck <[email protected]> Acked-by: Dragan Cvetic <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions