diff mbox series

mtd: nand: fix spelling in driver api documentation

Message ID 20180720075334.24254-1-marcel@ziswiler.com
State Not Applicable
Delegated to: Miquel Raynal
Headers show
Series mtd: nand: fix spelling in driver api documentation | expand

Commit Message

Marcel Ziswiler July 20, 2018, 7:53 a.m. UTC
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

This fixes some spelling mistakes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

---

 Documentation/driver-api/mtdnand.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jonathan Corbet July 23, 2018, 3:39 p.m. UTC | #1
On Fri, 20 Jul 2018 09:53:33 +0200
Marcel Ziswiler <marcel@ziswiler.com> wrote:

> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> This fixes some spelling mistakes.

So I hate to complain about a documentation improvement, but...

> 
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> 
> ---
> 
>  Documentation/driver-api/mtdnand.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
> index dcd63599f700..c55a6034c397 100644
> --- a/Documentation/driver-api/mtdnand.rst
> +++ b/Documentation/driver-api/mtdnand.rst
> @@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC.
>  
>  -  NAND_ECC_HW8_512
>  
> -   Hardware ECC generator providing 6 bytes ECC per 512 byte.
> +   Hardware ECC generator providing 8 bytes ECC per 512 byte.

That's not a spelling mistake, that's a factual change.  I'll apply the
patch since it appears to be correct, but will be tweaking the changelog.

Thanks,

jon
Marcel Ziswiler July 23, 2018, 3:44 p.m. UTC | #2
On Mon, 2018-07-23 at 09:39 -0600, Jonathan Corbet wrote:
> On Fri, 20 Jul 2018 09:53:33 +0200
> Marcel Ziswiler <marcel@ziswiler.com> wrote:
> 
> > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > This fixes some spelling mistakes.
> 
> So I hate to complain about a documentation improvement, but...
> 
> > 
> > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > ---
> > 
> >  Documentation/driver-api/mtdnand.rst | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/Documentation/driver-api/mtdnand.rst
> > b/Documentation/driver-api/mtdnand.rst
> > index dcd63599f700..c55a6034c397 100644
> > --- a/Documentation/driver-api/mtdnand.rst
> > +++ b/Documentation/driver-api/mtdnand.rst
> > @@ -374,7 +374,7 @@ The nand driver supports three different types
> > of hardware ECC.
> >  
> >  -  NAND_ECC_HW8_512
> >  
> > -   Hardware ECC generator providing 6 bytes ECC per 512 byte.
> > +   Hardware ECC generator providing 8 bytes ECC per 512 byte.
> 
> That's not a spelling mistake, that's a factual change.  I'll apply
> the
> patch since it appears to be correct, but will be tweaking the
> changelog.

Yeah, probably a copy/paste mistake. No pun intended.

> Thanks,
> 
> jon
Boris Brezillon July 23, 2018, 4:19 p.m. UTC | #3
Hi Jonathan,

On Mon, 23 Jul 2018 09:39:24 -0600
Jonathan Corbet <corbet@lwn.net> wrote:

> On Fri, 20 Jul 2018 09:53:33 +0200
> Marcel Ziswiler <marcel@ziswiler.com> wrote:
> 
> > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > This fixes some spelling mistakes.  
> 
> So I hate to complain about a documentation improvement, but...
> 
> > 
> > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > 
> > ---
> > 
> >  Documentation/driver-api/mtdnand.rst | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
> > index dcd63599f700..c55a6034c397 100644
> > --- a/Documentation/driver-api/mtdnand.rst
> > +++ b/Documentation/driver-api/mtdnand.rst
> > @@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC.
> >  
> >  -  NAND_ECC_HW8_512
> >  
> > -   Hardware ECC generator providing 6 bytes ECC per 512 byte.
> > +   Hardware ECC generator providing 8 bytes ECC per 512 byte.  
> 
> That's not a spelling mistake, that's a factual change.  I'll apply the
> patch since it appears to be correct, but will be tweaking the changelog.

I think Miquel had planned to apply this patch to the NAND tree, but we
don't seem to have conflicting changes on this file, so feel free to
take it in the doc tree.

Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>

Regards,

Boris
Miquel Raynal July 25, 2018, 7:29 a.m. UTC | #4
Hi Jonathan,

Boris Brezillon <boris.brezillon@bootlin.com> wrote on Mon, 23 Jul 2018
18:19:15 +0200:

> Hi Jonathan,
> 
> On Mon, 23 Jul 2018 09:39:24 -0600
> Jonathan Corbet <corbet@lwn.net> wrote:
> 
> > On Fri, 20 Jul 2018 09:53:33 +0200
> > Marcel Ziswiler <marcel@ziswiler.com> wrote:
> >   
> > > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > > 
> > > This fixes some spelling mistakes.    
> > 
> > So I hate to complain about a documentation improvement, but...
> >   
> > > 
> > > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > > 
> > > ---
> > > 
> > >  Documentation/driver-api/mtdnand.rst | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
> > > index dcd63599f700..c55a6034c397 100644
> > > --- a/Documentation/driver-api/mtdnand.rst
> > > +++ b/Documentation/driver-api/mtdnand.rst
> > > @@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC.
> > >  
> > >  -  NAND_ECC_HW8_512
> > >  
> > > -   Hardware ECC generator providing 6 bytes ECC per 512 byte.
> > > +   Hardware ECC generator providing 8 bytes ECC per 512 byte.    
> > 
> > That's not a spelling mistake, that's a factual change.  I'll apply the
> > patch since it appears to be correct, but will be tweaking the changelog.  
> 
> I think Miquel had planned to apply this patch to the NAND tree, but we
> don't seem to have conflicting changes on this file, so feel free to
> take it in the doc tree.
> 
> Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>

Can you confirm you will take this patch?

Thanks,
Miquèl
Jonathan Corbet July 25, 2018, 2:15 p.m. UTC | #5
On Wed, 25 Jul 2018 09:29:28 +0200
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> > > That's not a spelling mistake, that's a factual change.  I'll apply the
> > > patch since it appears to be correct, but will be tweaking the changelog.    
> > 
> > I think Miquel had planned to apply this patch to the NAND tree, but we
> > don't seem to have conflicting changes on this file, so feel free to
> > take it in the doc tree.
> > 
> > Acked-by: Boris Brezillon <boris.brezillon@bootlin.com>  
> 
> Can you confirm you will take this patch?

Yeah, that's what the "I'll apply the patch" part above means :)  It's
already in docs-next.

Thanks,

jon
diff mbox series

Patch

diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
index dcd63599f700..c55a6034c397 100644
--- a/Documentation/driver-api/mtdnand.rst
+++ b/Documentation/driver-api/mtdnand.rst
@@ -374,7 +374,7 @@  The nand driver supports three different types of hardware ECC.
 
 -  NAND_ECC_HW8_512
 
-   Hardware ECC generator providing 6 bytes ECC per 512 byte.
+   Hardware ECC generator providing 8 bytes ECC per 512 byte.
 
 If your hardware generator has a different functionality add it at the
 appropriate place in nand_base.c
@@ -889,7 +889,7 @@  Use these constants to select the ECC algorithm::
     #define NAND_ECC_HW3_512    3
     /* Hardware ECC 6 byte ECC per 512 Byte data */
     #define NAND_ECC_HW6_512    4
-    /* Hardware ECC 6 byte ECC per 512 Byte data */
+    /* Hardware ECC 8 byte ECC per 512 Byte data */
     #define NAND_ECC_HW8_512    6