[linux-sunxi] Re: [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-29 Thread Harvey Hunt
Hi Boris, On 26/02/16 18:33, Boris Brezillon wrote: Hi Harvey, On Fri, 26 Feb 2016 15:17:28 + Harvey Hunt wrote: Hi Boris, On 26/02/16 15:10, Boris Brezillon wrote: Hi Harvey, On Fri, 26 Feb 2016 14:35:08 + Harvey Hunt wrote:

[linux-sunxi] Re: [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-26 Thread Boris Brezillon
Hi Harvey, On Fri, 26 Feb 2016 15:17:28 + Harvey Hunt wrote: > Hi Boris, > > On 26/02/16 15:10, Boris Brezillon wrote: > > Hi Harvey, > > > > On Fri, 26 Feb 2016 14:35:08 + > > Harvey Hunt wrote: > > > >> [...] > >> I'll look into this

[linux-sunxi] Re: [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-26 Thread Harvey Hunt
Hi Boris, On 26/02/16 15:10, Boris Brezillon wrote: Hi Harvey, On Fri, 26 Feb 2016 14:35:08 + Harvey Hunt wrote: [...] I'll look into this more later today, but wanted to run it by you in case you have any thoughts. Can you apply this patch [1], and let me know

[linux-sunxi] Re: [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-26 Thread Boris Brezillon
Hi Harvey, On Fri, 26 Feb 2016 14:35:08 + Harvey Hunt wrote: > Hi Boris, > > On 26/02/16 00:57, Boris Brezillon wrote: > > The mtd_ooblayout_xxx() helper functions have been added to avoid direct > > accesses to the ecclayout field, and thus ease for future reworks.

[linux-sunxi] Re: [PATCH v3 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-02-26 Thread Harvey Hunt
Hi Boris, On 26/02/16 00:57, Boris Brezillon wrote: The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed.