[Intel-gfx] [PATCH] drm/i915: Redefine WARN_ON to include the condition

Daniel Vetter daniel at ffwll.ch
Mon Nov 3 13:26:43 CET 2014


On Tue, Oct 28, 2014 at 05:32:30PM +0200, Mika Kuoppala wrote:
> 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 <miku at iki.fi>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list