From: Ben Skeggs Date: Wed, 9 May 2012 02:47:03 +0000 (+1000) Subject: drm/nouveau: turn a BUG into a WARN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e5a429bcb132a68f17418ae82ba90ec4412084e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nouveau: turn a BUG into a WARN This is very annoying sometimes.. Signed-off-by: Ben Skeggs --- 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)); }