commit | 7465378fd7c681f6cf2b74b3494c4f0991d8c8ac | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 29 10:41:23 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Oct 29 10:54:29 2010 +0100 |
tree | fb6266fb46cf3407792b361add7df31cb13588b5 | |
parent | bbe2e11a4b683ead070ad5823cdf756e1525b903 [diff] |
drm/i915: Convert BUG_ON(pin_count) from an impossible condition Also spotted by Dan Carpenter. obj->pin_count is unsigned so the BUG_ON(obj->pin_count<0) will never trigger. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>