diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2018-01-26 08:55:10 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:59 -0500 |
commit | 449f797a94f206e15a088adabb26c7cc42aa79b4 (patch) | |
tree | ec2637e8ff29f8c52a0ebcba09a2d6e983b6c859 /drivers/gpu/drm | |
parent | add3d95d7359e0df748baa1da57727cf334b384a (diff) |
drm/ttm: Fix coding style in ttm_bo_move_memcpy()
Add missing {} braces.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 153de1bf0232..33ffe286f3a5 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c | |||
@@ -402,8 +402,9 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, | |||
402 | PAGE_KERNEL); | 402 | PAGE_KERNEL); |
403 | ret = ttm_copy_io_ttm_page(ttm, old_iomap, page, | 403 | ret = ttm_copy_io_ttm_page(ttm, old_iomap, page, |
404 | prot); | 404 | prot); |
405 | } else | 405 | } else { |
406 | ret = ttm_copy_io_page(new_iomap, old_iomap, page); | 406 | ret = ttm_copy_io_page(new_iomap, old_iomap, page); |
407 | } | ||
407 | if (ret) | 408 | if (ret) |
408 | goto out1; | 409 | goto out1; |
409 | } | 410 | } |