diff mbox

mtd: mtdswap: fix spelling mistake "erassure" -> "erasure"

Message ID 20161028182559.7887-1-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Oct. 28, 2016, 6:25 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in dev_err message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/mtd/mtdswap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Brian Norris Nov. 22, 2016, 7:49 p.m. UTC | #1
On Fri, Oct 28, 2016 at 07:25:59PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in dev_err message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/mtd/mtdswap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c
> index cb06bdd..d0402df 100644
> --- a/drivers/mtd/mtdswap.c
> +++ b/drivers/mtd/mtdswap.c
> @@ -587,7 +587,7 @@ static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb)
>  	ret = wait_event_interruptible(wq, erase.state == MTD_ERASE_DONE ||
>  					   erase.state == MTD_ERASE_FAILED);
>  	if (ret) {
> -		dev_err(d->dev, "Interrupted erase block %#llx erassure on %s",
> +		dev_err(d->dev, "Interrupted erase block %#llx erasure on %s",

Applied this patch to l2-mtd.git, adding a newline to the above.

Brian

>  			erase.addr, mtd->name);
>  		return -EINTR;
>  	}
> -- 
> 2.9.3
>
diff mbox

Patch

diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c
index cb06bdd..d0402df 100644
--- a/drivers/mtd/mtdswap.c
+++ b/drivers/mtd/mtdswap.c
@@ -587,7 +587,7 @@  static int mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb)
 	ret = wait_event_interruptible(wq, erase.state == MTD_ERASE_DONE ||
 					   erase.state == MTD_ERASE_FAILED);
 	if (ret) {
-		dev_err(d->dev, "Interrupted erase block %#llx erassure on %s",
+		dev_err(d->dev, "Interrupted erase block %#llx erasure on %s",
 			erase.addr, mtd->name);
 		return -EINTR;
 	}