drm/nouveau: turn a BUG into a WARN
authorBen Skeggs <bskeggs@redhat.com>
Wed, 9 May 2012 02:47:03 +0000 (12:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:56:29 +0000 (16:56 +1000)
This is very annoying sometimes..

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_object.c

index a3f961d..b190cc0 100644 (file)
@@ -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));
 }