All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo
@ 2021-08-01 20:59 Vladimir Molokov
  2021-08-06 20:03 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Molokov @ 2021-08-01 20:59 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra; +Cc: linux-mtd

Fix a trivial typo which is reported after enabling W=1 level of warnings:

  drivers/mtd/nand/raw/omap2.c:927: warning: expecting prototype
    for omap_calcuate_ecc(). Prototype was for omap_calculate_ecc() instead

Signed-off-by: Vladimir Molokov <vladimir@molokov.se>
---
 drivers/mtd/nand/raw/omap2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/omap2.c b/drivers/mtd/nand/raw/omap2.c
index b1839eef5b65..b26d4947af02 100644
--- a/drivers/mtd/nand/raw/omap2.c
+++ b/drivers/mtd/nand/raw/omap2.c
@@ -911,7 +911,7 @@ static int omap_correct_data(struct nand_chip *chip, u_char *dat,
 }
 
 /**
- * omap_calcuate_ecc - Generate non-inverted ECC bytes.
+ * omap_calculate_ecc - Generate non-inverted ECC bytes.
  * @chip: NAND chip object
  * @dat: The pointer to data on which ecc is computed
  * @ecc_code: The ecc_code buffer
-- 
2.30.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo
  2021-08-01 20:59 [PATCH] mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo Vladimir Molokov
@ 2021-08-06 20:03 ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2021-08-06 20:03 UTC (permalink / raw)
  To: Vladimir Molokov, Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
  Cc: linux-mtd

On Sun, 2021-08-01 at 20:59:09 UTC, Vladimir Molokov wrote:
> Fix a trivial typo which is reported after enabling W=1 level of warnings:
> 
>   drivers/mtd/nand/raw/omap2.c:927: warning: expecting prototype
>     for omap_calcuate_ecc(). Prototype was for omap_calculate_ecc() instead
> 
> Signed-off-by: Vladimir Molokov <vladimir@molokov.se>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-06 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 20:59 [PATCH] mtd: rawnand: omap: Fix kernel doc warning on 'calcuate' typo Vladimir Molokov
2021-08-06 20:03 ` Miquel Raynal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.