From: Chris Wilson Date: Fri, 1 Sep 2017 14:57:29 +0000 (+0100) Subject: drm/i915/perf: Remove __user from u64 in drm_i915_perf_oa_config X-Git-Tag: v4.19~298^2~46^2~1686 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17ad4fdd09e1613d7047aa9e00d7de68ad350204;p=platform%2Fkernel%2Flinux-rpi.git drm/i915/perf: Remove __user from u64 in drm_i915_perf_oa_config Sparse complains that these integers from which we form void __user *, and so we don't need the annotation itself inside the uABI. Signed-off-by: Chris Wilson Cc: Lionel Landwerlin Cc: Matthew Auld Link: https://patchwork.freedesktop.org/patch/msgid/20170901145729.21363-2-chris@chris-wilson.co.uk Reviewed-by: Lionel Landwerlin --- diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index 6598fb7..d8d10d9 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -1509,9 +1509,9 @@ struct drm_i915_perf_oa_config { __u32 n_boolean_regs; __u32 n_flex_regs; - __u64 __user mux_regs_ptr; - __u64 __user boolean_regs_ptr; - __u64 __user flex_regs_ptr; + __u64 mux_regs_ptr; + __u64 boolean_regs_ptr; + __u64 flex_regs_ptr; }; #if defined(__cplusplus)