Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2017-02-10 Thread Brian Norris
On Thu, Feb 09, 2017 at 02:50:02PM +0100, Cyrille Pitchen wrote: > In most, if not all, cases this warning is a false positive as for most > memories it is valid to write a single page with more than one Page Program > commands or to write data starting from the middle of the page. Right, I agree

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2017-02-09 Thread Cyrille Pitchen
Hi Brian, Le 09/02/2017 à 03:23, Brian Norris a écrit : > On Tue, Dec 13, 2016 at 05:43:52PM +0100, Cyrille Pitchen wrote: >> Le 08/12/2016 à 16:31, Boris Brezillon a écrit : >>> On Tue, 6 Dec 2016 18:14:24 +0100 >>> Cyrille Pitchen wrote: >>> This patch removes the WARN_ONCE() test in spi_n

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2017-02-08 Thread Brian Norris
On Tue, Dec 13, 2016 at 05:43:52PM +0100, Cyrille Pitchen wrote: > Le 08/12/2016 à 16:31, Boris Brezillon a écrit : > > On Tue, 6 Dec 2016 18:14:24 +0100 > > Cyrille Pitchen wrote: > > > >> This patch removes the WARN_ONCE() test in spi_nor_write(). > >> This macro triggers the display of a warni

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-13 Thread Cyrille Pitchen
Le 08/12/2016 à 16:31, Boris Brezillon a écrit : > On Tue, 6 Dec 2016 18:14:24 +0100 > Cyrille Pitchen wrote: > >> This patch removes the WARN_ONCE() test in spi_nor_write(). >> This macro triggers the display of a warning message almost every time we >> use a UBI file-system because a write oper

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-08 Thread Boris Brezillon
On Tue, 6 Dec 2016 18:14:24 +0100 Cyrille Pitchen wrote: > This patch removes the WARN_ONCE() test in spi_nor_write(). > This macro triggers the display of a warning message almost every time we > use a UBI file-system because a write operation is performed at offset 64, > which is in the middle

RE: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-07 Thread Krzeminski, Marcin (Nokia - PL/Wroclaw)
..@gmail.com; > linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; > rich...@nod.at > Subject: Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in > spi_nor_write() > > Le 07/12/2016 à 07:21, Krzeminski, Marcin (Nokia - PL/Wroclaw) a écrit : > > Hi Cyrille,

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-07 Thread Cyrille Pitchen
t;> To: Cyrille Pitchen ; Cyrille Pitchen >> >> Cc: boris.brezil...@free-electrons.com; computersforpe...@gmail.com; >> linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; >> rich...@nod.at >> Subject: Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message i

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Boris Brezillon
On Wed, 7 Dec 2016 04:07:05 +0100 Marek Vasut wrote: > On 12/07/2016 12:38 AM, Cyrille Pitchen wrote: > > Le 06/12/2016 à 20:00, Marek Vasut a écrit : > >> On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: > >>> This patch removes the WARN_ONCE() test in spi_nor_write(). > >>> This macro trigger

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Cyrille Pitchen
Le 06/12/2016 à 20:00, Marek Vasut a écrit : > On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: >> This patch removes the WARN_ONCE() test in spi_nor_write(). >> This macro triggers the display of a warning message almost every time we >> use a UBI file-system because a write operation is performed a

RE: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Krzeminski, Marcin (Nokia - PL/Wroclaw)
ersforpe...@gmail.com; > linux-...@lists.infradead.org; linux-kernel@vger.kernel.org; > rich...@nod.at > Subject: Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in > spi_nor_write() > > On 12/07/2016 12:38 AM, Cyrille Pitchen wrote: > > Le 06/12/2016 à 20:00, Mare

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Marek Vasut
On 12/07/2016 12:38 AM, Cyrille Pitchen wrote: > Le 06/12/2016 à 20:00, Marek Vasut a écrit : >> On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: >>> This patch removes the WARN_ONCE() test in spi_nor_write(). >>> This macro triggers the display of a warning message almost every time we >>> use a UBI

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Marek Vasut
On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: > This patch removes the WARN_ONCE() test in spi_nor_write(). > This macro triggers the display of a warning message almost every time we > use a UBI file-system because a write operation is performed at offset 64, > which is in the middle of the SPI N

[PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Cyrille Pitchen
This patch removes the WARN_ONCE() test in spi_nor_write(). This macro triggers the display of a warning message almost every time we use a UBI file-system because a write operation is performed at offset 64, which is in the middle of the SPI NOR memory page. This is a valid operation for ubifs. H