]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: silence io mapping/unmapping sparse warnings on different address spaces
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Oct 2016 09:54:13 +0000 (12:54 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 Oct 2016 14:07:07 +0000 (17:07 +0300)
commit615e5000830dd24b8dc6876a6a1babbeda998fdf
treecd1b5a273c99c49ea31cc9b47782a782d8060287
parentbb7791bd2bd424938edb269a17ab154c0d341327
drm/i915: silence io mapping/unmapping sparse warnings on different address spaces

drivers/gpu/drm/i915/i915_gem_execbuffer.c:432:52: warning: incorrect type in argument 1 (different address spaces)
drivers/gpu/drm/i915/i915_gem_execbuffer.c:432:52:    expected void [noderef] <asn:2>*vaddr
drivers/gpu/drm/i915/i915_gem_execbuffer.c:432:52:    got void *
drivers/gpu/drm/i915/i915_gem_execbuffer.c:477:15: warning: incorrect type in assignment (different address spaces)
drivers/gpu/drm/i915/i915_gem_execbuffer.c:477:15:    expected void *vaddr
drivers/gpu/drm/i915/i915_gem_execbuffer.c:477:15:    got void [noderef] <asn:2>*

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1475574853-4178-2-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_gem_execbuffer.c