From: Hanno Böck Date: Wed, 29 Jul 2015 08:31:04 +0000 (+0200) Subject: drm/i915: Fix command parser table validator X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~28^2~43 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8453580cb8834dedffda86bcb64f13befc90eb03;p=pandora-kernel.git drm/i915: Fix command parser table validator As we may like to use a bisection search on the tables in future, we need them to be ordered. For convenience we expect the compiled tables to be order and check on initialisation. However, the validator used the wrong iterators failed to spot the misordered MI tables and instead walked off into the unknown (as spotted by kasan). Signed-off-by: Hanno Boeck Reviewed-by: Chris Wilson [danvet: Again hand-assemble patch ...] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed