mirror of https://gitee.com/openkylin/linux.git
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:
parent
547e6c7fc8
commit
6e5a429bcb
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue