[patch] i915: fix impossible BUG_ON() test

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 27 14:30:08 PDT 2010


On Wed, 27 Oct 2010 23:25:34 +0200, Dan Carpenter <error27 at gmail.com> wrote:
> obj_priv->pin_count is unsigned so the BUG_ON(obj_priv->pin_count < 0)
> will never trigger.

I have the same change pending, but not queued for -fixes since it is
impossible.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list