projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddde985
)
drm/ttm: Fix coding style in ttm_dma_pool_alloc_new_pages()
author
Tom St Denis
<tom.stdenis@amd.com>
Thu, 25 Jan 2018 18:57:10 +0000
(13:57 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:01 +0000
(14:19 -0500)
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>
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
index
469e68e
..
fcd1680
100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
+++ b/
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
@@
-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);