drm/nouveau: turn a BUG into a WARN

This is very annoying sometimes..

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2012-05-09 12:47:03 +10:00
parent 547e6c7fc8
commit 6e5a429bcb

View 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));
}