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

Ján Tomko jtomko at redhat.com
Mon Dec 7 10:19:59 UTC 2020


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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201207/b3f66a43/attachment-0001.sig>


More information about the libvir-list mailing list