Re: [PATCH 2/5] bits_per_long.h: introduce SMALL_CONST() macro

From: Joe Perches
Date: Fri Jan 29 2021 - 16:24:57 EST


On Fri, 2021-01-29 at 23:10 +0200, Andy Shevchenko wrote:
> On Fri, Jan 29, 2021 at 10:49 PM Yury Norov <yury.norov@xxxxxxxxx> wrote:
[]
> > @@ -37,7 +37,7 @@
> >  #define GENMASK(h, l) \
> >         (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
> >
> > -#define BITS_FIRST(nr) GENMASK(nr), 0)
> > +#define BITS_FIRST(nr) GENMASK((nr), 0)
>
> How come?!

It's broken otherwise with unbalanced parentheses...