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

Denys Vlasenko
2016-03-24T08:38:27Z

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))