Re: [PATCH v2 02/27] internal.h: Introduce VIR_IS_POW2()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 03, 2020 at 13:36:05 +0100, Michal Privoznik wrote:
> This macro checks whether given number is an integer power of
> two.

Mention that you are also refactoring code to use it.

> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/internal.h           | 10 +++++++++
>  src/qemu/qemu_validate.c | 46 +++++++++++++++++++++-------------------
>  src/util/virrandom.c     |  2 +-
>  3 files changed, 35 insertions(+), 23 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux