mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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>
This commit is contained in:
parent
add3d95d73
commit
449f797a94
1 changed files with 2 additions and 1 deletions
|
|
@ -402,8 +402,9 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo,
|
|||
PAGE_KERNEL);
|
||||
ret = ttm_copy_io_ttm_page(ttm, old_iomap, page,
|
||||
prot);
|
||||
} else
|
||||
} else {
|
||||
ret = ttm_copy_io_page(new_iomap, old_iomap, page);
|
||||
}
|
||||
if (ret)
|
||||
goto out1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue