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

From: Andrew Morton
Date: Thu Mar 24 2016 - 18:28:21 EST


On Thu, 24 Mar 2016 09:38:21 +0100 Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:

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

And we seem to be missing the other 30 patches.