bitops.h: Improve find_xxx_bit() documentation
commit5c6ae58d4bdca71f0b63e854ceb6a8ee67cbddd8
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 10 May 2021 20:07:57 +0000 (10 22:07 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 21 May 2021 14:43:57 +0000 (21 15:43 +0100)
tree2ac8bab3600ba9727cde5796c4ddc8cc5c7133d9
parentd90226808b5b1b30b07968e94d8f74bf8804fc89
bitops.h: Improve find_xxx_bit() documentation

Document the following functions return the bitmap size
if no matching bit is found:

- find_first_bit
- find_next_bit
- find_last_bit
- find_first_zero_bit
- find_next_zero_bit

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20210510200758.2623154-2-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/qemu/bitops.h