Commit ddde985c authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/ttm: Fix coding style in ttm_tt_swapout()

Add missing {} braces.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment