]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Silence sparse by using gfp_t
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Sep 2017 14:57:28 +0000 (15:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Sep 2017 10:56:26 +0000 (11:56 +0100)
commitc03ae466e6b6a6086d3da9cd7c8040c42362d848
tree8a25398cac2a539d2a48bbc964b53448a69eca50
parent29f4e604969803b950332e82191f3d9d926b8413
drm/i915: Silence sparse by using gfp_t

Sparse enforces that GFP flags are only manipulated inside gfp_t locals.

Fixes: 619c7ffa8319 ("drm/i915: Avoid undefined behaviour of "u32 >> 32"")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170901145729.21363-1-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_execbuffer.c