mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
drm/ttm: Fix coding style in ttm_dma_pool_alloc_new_pages()
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
ddde985c41
commit
42bdbb6e0f
1 changed files with 1 additions and 2 deletions
|
|
@ -763,10 +763,9 @@ static int ttm_dma_pool_alloc_new_pages(struct dma_pool *pool,
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (count > 1) {
|
||||
if (count > 1)
|
||||
pr_debug("%s: (%s:%d) Getting %d pages\n",
|
||||
pool->dev_name, pool->name, current->pid, count);
|
||||
}
|
||||
|
||||
for (i = 0, cpages = 0; i < count; ++i) {
|
||||
dma_p = __ttm_dma_alloc_page(pool);
|
||||
|
|
|
|||
Loading…
Reference in a new issue