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

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

 



On a Monday in 2020, Michal Privoznik wrote:
On 12/7/20 9:55 AM, Ján Tomko wrote:
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.

What is new? These checks for pow2 were introduced in v2.3.0-rc1~186 and v3.7.0-rc1~236. I'm not sure such old checks can be viewed as new.


Right, guess I shouldn't look at code so early in the morning.

Jano

Michal

Attachment: signature.asc
Description: PGP signature


[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