It cannot exceed UINT32_MAX because the ring head and tail are 32-bit. util_is_power_of_two also truncates to 32-bit. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Ryan Neph <ryanneph@google.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>macos/master
parent
75a64ef28f
commit
94a9cbe4ef
Loading…
Reference in new issue