Skip to content
Commit 62f269ef authored by Wang Long's avatar Wang Long Committed by Tony Luck
Browse files

pstore: Fix the ramoops module parameters update



In the function ramoops_probe, the console_size, pmsg_size,
ftrace_size may be update because the value is not the power
of two. We should update the module parameter variables
as well so they are visible through /sys/module/ramoops/parameters
correctly.

Signed-off-by: default avatarWang Long <long.wanglong@huawei.com>
Acked-by: default avatarMark Salyzyn <salyzyn@android.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 06e5801b
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