[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r51ciash.fsf@free.fr>
Date: Sun, 13 Nov 2011 11:20:14 +0100
From: Robert Jarzmik <robert.jarzmik@...e.fr>
To: Mike Dunn <mikedunn@...sguy.com>
Cc: dwmw2@...radead.org, dedekind1@...il.com,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 04/16] mtd/docg3: fix BCH registers
Mike Dunn <mikedunn@...sguy.com> writes:
> On 11/10/2011 12:05 AM, Robert Jarzmik wrote:
>> -#define DOC_BCH_SYNDROM(idx) (0x1048 + (idx << 1))
>> +#define DOC_BCH_SYNDROM(idx) (0x1048 + (idx << 0))
>
>
> Minor nit: why the 0, and not just (0x1048 + idx) ?
I'll fix that, old idea I had that address bus did not stand odd adresses, and I
couldn't convince myself the "<< 0" was right, so left it to have back quicky
"<< 1". But I was wrong :)
Cheers.
--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists