Commit 4d93586b authored by Xiang Wang's avatar Xiang Wang Committed by Anup Patel
Browse files

lib: prevent coldboot_lottery from overflowing



HSM_STOP will trigger multiple executions of sbi_init, atomic_add_return may
trigger coldboot_lottery overflow

Signed-off-by: default avatarXiang Wang <merle@hardenedlinux.org>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 4c374511
Supports Markdown
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