From: Mika Kuoppala Date: Tue, 28 Oct 2014 15:32:30 +0000 (+0200) Subject: drm/i915: Redefine WARN_ON to include the condition X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~64^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c883ef1b1c998d2d66866772fd0fc34afa45641e;p=pandora-kernel.git drm/i915: Redefine WARN_ON to include the condition When looking at the bug report logs with triggered WARN_ON, the person doing bug triaging will have to find exact kernel source and match file/line. Attach the condition that triggered the WARN_ON to kernel log. In most cases the context is self evident and this way we can save developer time. The drawback is ~16kbytes bigger i915.ko Signed-off-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed