mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
drm/ttm: Fix coding style in ttm_tt_swapout()
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>
This commit is contained in:
parent
07d48da4f4
commit
ddde985c41
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue