Re: [PATCH v2 2/2] bits: Add tests of GENMASK

From: Andy Shevchenko
Date: Mon Jun 08 2020 - 04:08:50 EST


On Mon, Jun 8, 2020 at 11:08 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Sun, Jun 7, 2020 at 11:34 PM Rikard Falkeborn
> <rikard.falkeborn@xxxxxxxxx> wrote:
> >
> > Add tests of GENMASK and GENMASK_ULL.
> >
> > A few test cases that should fail compilation are provided under ifdef.
> >
>
> Thank you very much!
>
> > * New patch. First time I wrote a KUnittest so may be room for
> > improvements...
>
> Have you considered to unify them with existing test_bitops.h?

test_bitops.c, of course.

--
With Best Regards,
Andy Shevchenko