diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-05-09 12:47:03 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-24 16:56:29 +1000 |
commit | 6e5a429bcb132a68f17418ae82ba90ec4412084e (patch) | |
tree | 5a2ea9fe0b5ff4ad3f9712f003d8d1dc2e914b7d | |
parent | 547e6c7fc81a34fd61669387f1d582af39cc5570 (diff) |
drm/nouveau: turn a BUG into a WARN
This is very annoying sometimes..
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_object.c | 2 |
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)); } |