forked from Minki/linux
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
@ -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…
Reference in New Issue
Block a user