diff options
Diffstat (limited to 'drivers/gpu/drm/udl')
-rw-r--r-- | drivers/gpu/drm/udl/udl_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_gem.c b/drivers/gpu/drm/udl/udl_gem.c index 40efd32f7dce..d9609e2a4d8a 100644 --- a/drivers/gpu/drm/udl/udl_gem.c +++ b/drivers/gpu/drm/udl/udl_gem.c | |||
@@ -234,7 +234,7 @@ int udl_gem_mmap(struct drm_file *file, struct drm_device *dev, | |||
234 | 234 | ||
235 | ret = udl_gem_get_pages(gobj, GFP_KERNEL); | 235 | ret = udl_gem_get_pages(gobj, GFP_KERNEL); |
236 | if (ret) | 236 | if (ret) |
237 | return ret; | 237 | goto out; |
238 | if (!gobj->base.map_list.map) { | 238 | if (!gobj->base.map_list.map) { |
239 | ret = drm_gem_create_mmap_offset(obj); | 239 | ret = drm_gem_create_mmap_offset(obj); |
240 | if (ret) | 240 | if (ret) |