[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] bitmap: some fixes
From: |
Wei Wang |
Subject: |
[Qemu-devel] [PATCH 0/2] bitmap: some fixes |
Date: |
Mon, 30 Jul 2018 15:13:55 +0800 |
"nbits = 0" is not applicable to BITMAP_LAST_WORD_MASK, callers should
avoid that. Fix bitmap_count_one to avoid passing 0 to the macro.
Wei Wang (2):
bitmap.h: add comments to BITMAP_LAST_WORD_MASK
bitmap: fix bitmap_count_one
include/qemu/bitmap.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.7.4
- [Qemu-devel] [PATCH 0/2] bitmap: some fixes,
Wei Wang <=