Re: [PATCH 01/31] bitops: add parity functions

From: Denys Vlasenko
Date: Thu Mar 24 2016 - 04:38:34 EST


On 03/24/2016 04:03 AM, Zhaoxiu Zeng wrote:
> +/*
> + * Type invariant interface to the compile time constant parity functions.
> + */
> +#define PARITY(w) PARITY64((u64)w)

Can result in incorrect expansion of w. Should be PARITY64((u64)(w))