Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17ad4fdd authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170901145729.21363-2-chris@chris-wilson.co.uk


Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
parent 0d95c883
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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)