Commit 449f797a authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/ttm: Fix coding style in ttm_bo_move_memcpy()

Add missing {} braces.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent add3d95d
...@@ -402,8 +402,9 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, ...@@ -402,8 +402,9 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
PAGE_KERNEL); PAGE_KERNEL);
ret = ttm_copy_io_ttm_page(ttm, old_iomap, page, ret = ttm_copy_io_ttm_page(ttm, old_iomap, page,
prot); prot);
} else } else {
ret = ttm_copy_io_page(new_iomap, old_iomap, page); ret = ttm_copy_io_page(new_iomap, old_iomap, page);
}
if (ret) if (ret)
goto out1; goto out1;
} }
......
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