diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-05-09 04:47:03 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-05-24 08:56:29 +0200 |
commit | 6e5a429bcb132a68f17418ae82ba90ec4412084e (patch) | |
tree | 5a2ea9fe0b5ff4ad3f9712f003d8d1dc2e914b7d /drivers/gpu/drm/nouveau/nouveau_object.c | |
parent | drm/nv50: decode PGRAPH DATA_ERROR = 0x24 (diff) | |
download | linux-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.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 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)); } |