diff options
author | Ville Syrjälä <[email protected]> | 2017-09-01 19:54:34 +0300 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2017-09-06 10:18:33 -0700 |
commit | 389e0d3d3f7ea0dc37dddfa678cd7680f0347ed9 (patch) | |
tree | 3a930152adffa7acefe3867ff6d3e2a03addbb6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4bce4e98c20a45d3adf7a25881f4e6329d239fc9 (diff) |
drm/i915: Annotate user relocs with __user
Add the missing __user to the urelocs cast to fix the following sparse
warning:
i915_gem_execbuffer.c:1541:47: warning: cast removes address space of expression
i915_gem_execbuffer.c:1541:62: warning: incorrect type in argument 2 (different address spaces)
i915_gem_execbuffer.c:1541:62: expected void const [noderef] <asn:1>*from
i915_gem_execbuffer.c:1541:62: got char *
Cc: Chris Wilson <[email protected]>
Fixes: 2889caa92321 ("drm/i915: Eliminate lots of iterations over the execobjects array")
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Maarten Lankhorst <[email protected]> #irc
(cherry picked from commit 908a610557f4d8b46a0f82c01e31b30f5c998580)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions