OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d48da
)
drm/ttm: Fix coding style in ttm_tt_swapout()
author
Tom St Denis
<tom.stdenis@amd.com>
Thu, 25 Jan 2018 18:29:42 +0000
(13:29 -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_tt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_tt.c
b/drivers/gpu/drm/ttm/ttm_tt.c
index
e90d3ed
..
95a77da
100644
(file)
--- 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;