From: Tom St Denis Date: Thu, 25 Jan 2018 18:57:10 +0000 (-0500) Subject: drm/ttm: Fix coding style in ttm_dma_pool_alloc_new_pages() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=42bdbb6e0f3a14d2a0d924949fa3af0049eadd90;p=linux.git drm/ttm: Fix coding style in ttm_dma_pool_alloc_new_pages() Add missing {} braces. Signed-off-by: Tom St Denis Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c index 469e68e06be63..fcd16804c7386 100644 --- 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);