[Intel-gfx] [PATCH] sna: move up the assert check before DBG print message

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 1 10:23:09 UTC 2016


On Tue, Mar 01, 2016 at 09:49:21AM +0800, Lim Siew Hoon wrote:
> The assert check for c->bo should be done before DBG,
> else it will hit memory access violation when c->bo
> is null.
> 
> Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
> Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

Pardon? With a r-b?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list