From b2c4ba5cf712fede57dd3e15922ae647dde55a82 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Fri, 28 Oct 2016 19:25:59 +0100 Subject: [PATCH] mtd: mtdswap: fix spelling mistake "erassure" -> "erasure" Trivial fix to spelling mistake in dev_err message Signed-off-by: Colin Ian King [Brian: add EOL newline] Signed-off-by: Brian Norris --- 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 cb06bdd21a1b..c40e2c951758 100644 --- a/drivers/mtd/mtdswap.c +++ b/drivers/mtd/mtdswap.c @@ -587,7 +587,7 @@ retry: 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\n", erase.addr, mtd->name); return -EINTR; }