diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-02-22 11:38:08 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-02-22 11:39:21 +0000 |
commit | a72399da2a89aecdcf293bc262d76d8c6e10d0ef (patch) | |
tree | 4e50d8497dc2e3ef47121ce3b2cee0ae0baff6e2 | |
parent | fad1db2d73f8dd95f17db10c7ea381c7774e3c29 (diff) |
silence warning
-rw-r--r-- | linux-core/drm_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c index ebba2fa7..b6115e8d 100644 --- a/linux-core/drm_bo.c +++ b/linux-core/drm_bo.c @@ -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); |