Commit 3477f08b authored by Xiang W's avatar Xiang W Committed by Anup Patel
Browse files

lib: sbi: fix ctz bug



The original version of ctz will cause an endless loop, if the parameter
passed in is 0. This commit fixes this bug.

Signed-off-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 395ff7ee
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