Commit 696e3ca3 authored by YAMANE Toshiaki's avatar YAMANE Toshiaki Committed by Greg Kroah-Hartman

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

The following errors fixed.
- ERROR: space prohibited after that '!' (ctx:BxW)
Signed-off-by: default avatarYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ae053039
...@@ -952,7 +952,7 @@ int omap_gem_put_pages(struct drm_gem_object *obj) ...@@ -952,7 +952,7 @@ int omap_gem_put_pages(struct drm_gem_object *obj)
void *omap_gem_vaddr(struct drm_gem_object *obj) void *omap_gem_vaddr(struct drm_gem_object *obj)
{ {
struct omap_gem_object *omap_obj = to_omap_bo(obj); struct omap_gem_object *omap_obj = to_omap_bo(obj);
WARN_ON(! mutex_is_locked(&obj->dev->struct_mutex)); WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex));
if (!omap_obj->vaddr) { if (!omap_obj->vaddr) {
struct page **pages; struct page **pages;
int ret = get_pages(obj, &pages); int ret = get_pages(obj, &pages);
...@@ -971,7 +971,7 @@ void omap_gem_describe(struct drm_gem_object *obj, struct seq_file *m) ...@@ -971,7 +971,7 @@ void omap_gem_describe(struct drm_gem_object *obj, struct seq_file *m)
struct omap_gem_object *omap_obj = to_omap_bo(obj); struct omap_gem_object *omap_obj = to_omap_bo(obj);
uint64_t off = 0; uint64_t off = 0;
WARN_ON(! mutex_is_locked(&dev->struct_mutex)); WARN_ON(!mutex_is_locked(&dev->struct_mutex));
if (obj->map_list.map) if (obj->map_list.map)
off = (uint64_t)obj->map_list.hash.key; off = (uint64_t)obj->map_list.hash.key;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment