summaryrefslogtreecommitdiff
path: root/lib/utils/timer
diff options
context:
space:
mode:
authorXiang W <[email protected]>2021-09-15 14:50:52 +0800
committerAnup Patel <[email protected]>2021-09-22 13:26:23 +0530
commit3477f08b08da6bfd904218fdb76b3db592dd7ebd (patch)
tree2b2d0fe0b50f5ca8a4763fb88b434dcfd52d7c5e /lib/utils/timer
parent395ff7eedec5e2b5b067e3725303a17352a07651 (diff)
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: Xiang W <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions