From 6e5a429bcb132a68f17418ae82ba90ec4412084e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Wed, 9 May 2012 12:47:03 +1000 Subject: drm/nouveau: turn a BUG into a WARN This is very annoying sometimes.. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c index a3f961d98992..b190cc01c820 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)); } -- cgit v1.2.3