mtd: fix typos in ooblayout comment blocks

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 12 18:59:02 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7da0fffb3a4cb76a4869bf12acb750a4f9e2f2c1
Commit:     7da0fffb3a4cb76a4869bf12acb750a4f9e2f2c1
Parent:     906b268477bc03daaa04f739844c120fe4dbc991
Author:     Masahiro Yamada <yamada.masahiro at socionext.com>
AuthorDate: Wed Dec 14 09:31:01 2016 +0900
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Feb 8 13:32:08 2017 -0800

    mtd: fix typos in ooblayout comment blocks
    
    - "This functions return ..." -> "This function returns ..."
     - "I you want ..." -> "If you want ..."
    
    Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
    Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/mtdcore.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 052772f..66a9ded 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -1128,7 +1128,7 @@ EXPORT_SYMBOL_GPL(mtd_write_oob);
  * @oobecc: OOB region struct filled with the appropriate ECC position
  *	    information
  *
- * This functions return ECC section information in the OOB area. I you want
+ * This function returns ECC section information in the OOB area. If you want
  * to get all the ECC bytes information, then you should call
  * mtd_ooblayout_ecc(mtd, section++, oobecc) until it returns -ERANGE.
  *
@@ -1160,7 +1160,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_ecc);
  * @oobfree: OOB region struct filled with the appropriate free position
  *	     information
  *
- * This functions return free bytes position in the OOB area. I you want
+ * This function returns free bytes position in the OOB area. If you want
  * to get all the free bytes information, then you should call
  * mtd_ooblayout_free(mtd, section++, oobfree) until it returns -ERANGE.
  *
@@ -1190,7 +1190,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_free);
  * @iter: iterator function. Should be either mtd_ooblayout_free or
  *	  mtd_ooblayout_ecc depending on the region type you're searching for
  *
- * This functions returns the section id and oobregion information of a
+ * This function returns the section id and oobregion information of a
  * specific byte. For example, say you want to know where the 4th ECC byte is
  * stored, you'll use:
  *



More information about the linux-mtd-cvs mailing list