]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Prevent out of range pt in gen6_for_each_pde
authorMichel Thierry <michel.thierry@intel.com>
Tue, 24 Mar 2015 15:46:19 +0000 (15:46 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 08:24:55 +0000 (09:24 +0100)
commitfdc454c1484a20e1345cf4e4d7a9feaee814147f
tree6e8d9fc78b3ddb91be84cb84b38bfea7fb347a1e
parent2c60fae1489c70206e66c28d72b69a3e496c313d
drm/i915: Prevent out of range pt in gen6_for_each_pde

Found by static analysis tool, this was harmless as the pt was not
used out of scope though.

Introduced by commit 678d96fbb3b5995a2fdff2bca5e1ab4a40b7e968
("drm/i915: Track GEN6 page table usage").

Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.h