[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220622143934.18390-1-jiangjian@cdjrlc.com>
Date: Wed, 22 Jun 2022 22:39:34 +0800
From: Jiang Jian <jiangjian@...rlc.com>
To: miquel.raynal@...tlin.com, vigneshr@...com
Cc: richard@....at, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, Jiang Jian <jiangjian@...rlc.com>
Subject: [PATCH] ubi: eba: Fix typo in comments
Remove the repeated word 'and' from comments
Signed-off-by: Jiang Jian <jiangjian@...rlc.com>
---
drivers/mtd/ubi/eba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index ccc5979642b7..09c408c45a62 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -377,7 +377,7 @@ static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum)
*
* This function locks a logical eraseblock for writing if there is no
* contention and does nothing if there is contention. Returns %0 in case of
- * success, %1 in case of contention, and and a negative error code in case of
+ * success, %1 in case of contention, and a negative error code in case of
* failure.
*/
static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum)
--
2.17.1
Powered by blists - more mailing lists