Re: [PATCH v5 2/2] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

From: Andy Shevchenko
Date: Tue May 15 2018 - 17:02:59 EST


On Tue, May 15, 2018 at 11:35 PM, Boris Brezillon
<boris.brezillon@xxxxxxxxxxx> wrote:
> On Tue, 15 May 2018 23:23:02 +0300
> Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:

> I made a mistake in my code sample, it's
>
> if (srcbuf[i] & BIT(j))
>
> If you look at v6, you'll see it's been fixed by Jane.

In this case, indeed.

--
With Best Regards,
Andy Shevchenko