[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPybu_2j6vn9y-rOAvs2vp18RvSEe8qkg_r3RdRGNgna7-J31A@mail.gmail.com>
Date: Wed, 21 Sep 2016 10:26:18 +0200
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc: Cyrille Pitchen <cyrille.pitchen@...el.com>,
David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Javier Martinez Canillas <javier@....samsung.com>,
Stephen Warren <swarren@...dia.com>,
Jagan Teki <jteki@...nedev.com>, Vignesh R <vigneshr@...com>,
Marek Vasut <marex@...x.de>,
Ezequiel García <ezequiel@...guardiasur.com.ar>,
Rafał Miłecki <zajec5@...il.com>,
Furquan Shaikh <furquan@...gle.com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mtd: spi-nor: Add support for S3AN spi-nor devices
Hi
>>
>> Unsinged long is more than enough for s3an. I think v7 is ok.
>
> Then, why did you change the spi_nor_s3an_addr_convert() prototype?
>
Because it is used in spi_nor_read and spi_nor_write, which use loff_t.
I think it is more clean to have only one comment explaining the max
size of the s3an, instead of having them scattered around. But if
think that it is better to have unsinged int as prototype I have no
problem in changing it.
Regards!
--
Ricardo Ribalda
Powered by blists - more mailing lists