mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 14:00:11 +01:00
silence warning
This commit is contained in:
parent
fad1db2d73
commit
a72399da2a
1 changed files with 1 additions and 1 deletions
|
|
@ -2492,7 +2492,7 @@ int drm_mm_takedown_ioctl(struct drm_device *dev, void *data, struct drm_file *f
|
|||
goto out;
|
||||
}
|
||||
ret = 0;
|
||||
if (ret = drm_bo_clean_mm(dev, arg->mem_type, 0)) {
|
||||
if ((ret = drm_bo_clean_mm(dev, arg->mem_type, 0))) {
|
||||
if (ret == -EINVAL)
|
||||
DRM_ERROR("Memory manager type %d not clean. "
|
||||
"Delaying takedown\n", arg->mem_type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue