On a Friday in 2020, Peter Krempa wrote:
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.
IIUC those are new checks - not a refactor.
Jano
> Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
> ---
> 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(a)redhat.com>