Skip to content
Commit a1358aae authored by Burt Silverman's avatar Burt Silverman Committed by Carles Cufí
Browse files

sys: Modify ATOMIC_BITMAP_SIZE macro: num_bits = 0



    The macro returned the wrong value for any case in which
    num_bits<=0, due to a signed/unsigned division. The num_bits=0 case was
    hit using static analysis in a Nordic Semiconductor SDK case.

Signed-off-by: default avatarBurt Silverman <burtms@gmail.com>
parent 3b0b33b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment