drm/i915/selftests: Fixup sparse __user annotation on local var
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 11:42:29 +0000 (11:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2020 14:38:54 +0000 (14:38 +0000)
commita5799832c317d1505bb00a234ffd39db900f1613
tree5420017248fcb710d91737aef3ae0c979fe06cc7
parent05e8a5f51eb5863d8c316c68091500511770bff7
drm/i915/selftests: Fixup sparse __user annotation on local var

The local var does not need the __user as it exists on the kernel stack
and not a pointer into the __user address space.

drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:989:9: warning: dereference of noderef expression
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c:990:13: warning: dereference of noderef expression

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106114234.2529613-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c