[PATCH v2 02/27] internal.h: Introduce VIR_IS_POW2()
Michal Privoznik
mprivozn at redhat.com
Mon Dec 7 09:23:13 UTC 2020
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.
Michal
More information about the libvir-list
mailing list