2020-07-19 00:33:09

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] MTD: mtd-abi.h: drop a duplicated word

Drop the repeated word "mode" in a comment.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Miquel Raynal <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Vignesh Raghavendra <[email protected]>
Cc: [email protected]
---
include/uapi/mtd/mtd-abi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200717.orig/include/uapi/mtd/mtd-abi.h
+++ linux-next-20200717/include/uapi/mtd/mtd-abi.h
@@ -262,7 +262,7 @@ struct mtd_ecc_stats {
* @MTD_FILE_MODE_OTP_USER: OTP enabled in user mode
* @MTD_FILE_MODE_RAW: OTP disabled, ECC disabled
*
- * These modes can be set via ioctl(MTDFILEMODE). The mode mode will be retained
+ * These modes can be set via ioctl(MTDFILEMODE). The mode will be retained
* separately for each open file descriptor.
*
* Note: %MTD_FILE_MODE_RAW provides the same functionality as %MTD_OPS_RAW -


2020-08-02 21:07:34

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] MTD: mtd-abi.h: drop a duplicated word

On Sun, Jul 19, 2020 at 2:35 AM Randy Dunlap <[email protected]> wrote:
>
> Drop the repeated word "mode" in a comment.
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Miquel Raynal <[email protected]>
> Cc: Richard Weinberger <[email protected]>
> Cc: Vignesh Raghavendra <[email protected]>
> Cc: [email protected]
> ---
> include/uapi/mtd/mtd-abi.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Both mtd patches applied, thanks!

--
Thanks,
//richard