OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d95c88
)
drm/i915/perf: Remove __user from u64 in drm_i915_perf_oa_config
author
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 1 Sep 2017 14:57:29 +0000
(15:57 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 5 Sep 2017 10:57:10 +0000
(11:57 +0100)
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 <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: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
include/uapi/drm/i915_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/i915_drm.h
b/include/uapi/drm/i915_drm.h
index
6598fb7
..
d8d10d9
100644
(file)
--- 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)