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:
Burt Silverman <burtms@gmail.com>
Loading
Please sign in to comment