Skip to content
Commit 34f0ec82 authored by Liu ShuoX's avatar Liu ShuoX Committed by Tony Luck
Browse files

pstore: Correct the max_dump_cnt clearing of ramoops



In case that ramoops_init_przs failed, max_dump_cnt won't be reset to
zero in error handle path.

Signed-off-by: default avatarLiu ShuoX <shuox.liu@intel.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent b0aa931f
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