aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-05-08 22:47:03 -0400
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 02:56:29 -0400
commit6e5a429bcb132a68f17418ae82ba90ec4412084e (patch)
tree5a2ea9fe0b5ff4ad3f9712f003d8d1dc2e914b7d /drivers/gpu
parent547e6c7fc81a34fd61669387f1d582af39cc5570 (diff)
drm/nouveau: turn a BUG into a WARN
This is very annoying sometimes.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c
index a3f961d9899..b190cc01c82 100644
--- a/drivers/gpu/drm/nouveau/nouveau_object.c
+++ b/drivers/gpu/drm/nouveau/nouveau_object.c
@@ -238,7 +238,7 @@ nouveau_gpuobj_takedown(struct drm_device *dev)
238 kfree(oc); 238 kfree(oc);
239 } 239 }
240 240
241 BUG_ON(!list_empty(&dev_priv->gpuobj_list)); 241 WARN_ON(!list_empty(&dev_priv->gpuobj_list));
242} 242}
243 243
244 244