提交 4a19313c 编写于 作者: Y YAMANE Toshiaki 提交者: Greg Kroah-Hartman

staging/omapdrm: Fix spacing coding style in omap_gem_helper.c

The following warning fixed.
- WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: NYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b1ca079e
...@@ -80,9 +80,9 @@ struct page **_drm_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask) ...@@ -80,9 +80,9 @@ struct page **_drm_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask)
return pages; return pages;
fail: fail:
while (i--) { while (i--)
page_cache_release(pages[i]); page_cache_release(pages[i]);
}
drm_free_large(pages); drm_free_large(pages);
return ERR_CAST(p); return ERR_CAST(p);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册