summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_object.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-05-09 04:47:03 +0200
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 08:56:29 +0200
commit6e5a429bcb132a68f17418ae82ba90ec4412084e (patch)
tree5a2ea9fe0b5ff4ad3f9712f003d8d1dc2e914b7d /drivers/gpu/drm/nouveau/nouveau_object.c
parentdrm/nv50: decode PGRAPH DATA_ERROR = 0x24 (diff)
downloadlinux-6e5a429bcb132a68f17418ae82ba90ec4412084e.tar.xz
linux-6e5a429bcb132a68f17418ae82ba90ec4412084e.zip
drm/nouveau: turn a BUG into a WARN
This is very annoying sometimes.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-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 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));
}