summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-05-09 12:47:03 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 16:56:29 +1000
commit6e5a429bcb132a68f17418ae82ba90ec4412084e (patch)
tree5a2ea9fe0b5ff4ad3f9712f003d8d1dc2e914b7d /drivers
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')
-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)
kfree(oc);
}
- BUG_ON(!list_empty(&dev_priv->gpuobj_list));
+ WARN_ON(!list_empty(&dev_priv->gpuobj_list));
}