From: Jani Nikula Date: Thu, 12 Mar 2015 11:01:12 +0000 (+0200) Subject: drm/i915: redefine WARN_ON_ONCE to include the condition X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9bfacb8726681c9bda57a679d8f7ba61ecc9f8;p=pandora-kernel.git drm/i915: redefine WARN_ON_ONCE to include the condition Same as commit c883ef1b1c998d2d66866772fd0fc34afa45641e Author: Mika Kuoppala Date: Tue Oct 28 17:32:30 2014 +0200 drm/i915: Redefine WARN_ON to include the condition but for WARN_ON_ONCE. Since the kernel WARN_ON_ONCE actually picks up *our* version of WARN_ON, we end up with messages like [ 838.285319] WARN_ON(!__warned) which are not that helpful. Signed-off-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed