提交 ddde985c 编写于 作者: T Tom St Denis 提交者: Alex Deucher

drm/ttm: Fix coding style in ttm_tt_swapout()

Add missing {} braces.
Signed-off-by: NTom St Denis <tom.stdenis@amd.com>
Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 07d48da4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册