From: Tom St Denis Date: Thu, 25 Jan 2018 18:29:42 +0000 (-0500) Subject: drm/ttm: Fix coding style in ttm_tt_swapout() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddde985c41758f5f7daac78256f4fa20f5cd4a1a;p=openwrt%2Fstaging%2Fblogic.git drm/ttm: Fix coding style in ttm_tt_swapout() 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_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c index e90d3ed6283f..95a77dab8cc9 100644 --- a/drivers/gpu/drm/ttm/ttm_tt.c +++ b/drivers/gpu/drm/ttm/ttm_tt.c @@ -352,8 +352,9 @@ int ttm_tt_swapout(struct ttm_tt *ttm, struct file *persistent_swap_storage) pr_err("Failed allocating swap storage\n"); return PTR_ERR(swap_storage); } - } else + } else { swap_storage = persistent_swap_storage; + } swap_space = swap_storage->f_mapping;