diff mbox

ubi: fastmap: fix spelling mistake: "invalidiate" -> "invalidate"

Message ID 20170703093701.11588-1-colin.king@canonical.com
State Accepted
Delegated to: Richard Weinberger
Headers show

Commit Message

Colin Ian King July 3, 2017, 9:37 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in ubi_err error message

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

Comments

Boris Brezillon July 3, 2017, 11:35 a.m. UTC | #1
On Mon,  3 Jul 2017 10:37:01 +0100
Colin King <colin.king@canonical.com> wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in ubi_err error message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
>  drivers/mtd/ubi/fastmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c
> index b44c8d348e78..5a832bc79b1b 100644
> --- a/drivers/mtd/ubi/fastmap.c
> +++ b/drivers/mtd/ubi/fastmap.c
> @@ -1667,7 +1667,7 @@ int ubi_update_fastmap(struct ubi_device *ubi)
>  
>  	ret = invalidate_fastmap(ubi);
>  	if (ret < 0) {
> -		ubi_err(ubi, "Unable to invalidiate current fastmap!");
> +		ubi_err(ubi, "Unable to invalidate current fastmap!");
>  		ubi_ro_mode(ubi);
>  	} else {
>  		return_fm_pebs(ubi, old_fm);
Richard Weinberger July 3, 2017, 11:41 a.m. UTC | #2
Colin,

Am 03.07.2017 um 11:37 schrieb Colin King:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to spelling mistake in ubi_err error message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/mtd/ubi/fastmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c
> index b44c8d348e78..5a832bc79b1b 100644
> --- a/drivers/mtd/ubi/fastmap.c
> +++ b/drivers/mtd/ubi/fastmap.c
> @@ -1667,7 +1667,7 @@ int ubi_update_fastmap(struct ubi_device *ubi)
>  
>  	ret = invalidate_fastmap(ubi);
>  	if (ret < 0) {
> -		ubi_err(ubi, "Unable to invalidiate current fastmap!");
> +		ubi_err(ubi, "Unable to invalidate current fastmap!");
>  		ubi_ro_mode(ubi);
>  	} else {
>  		return_fm_pebs(ubi, old_fm);
> 

Isn't this material for the trivial tree?

Thanks,
//richard
diff mbox

Patch

diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c
index b44c8d348e78..5a832bc79b1b 100644
--- a/drivers/mtd/ubi/fastmap.c
+++ b/drivers/mtd/ubi/fastmap.c
@@ -1667,7 +1667,7 @@  int ubi_update_fastmap(struct ubi_device *ubi)
 
 	ret = invalidate_fastmap(ubi);
 	if (ret < 0) {
-		ubi_err(ubi, "Unable to invalidiate current fastmap!");
+		ubi_err(ubi, "Unable to invalidate current fastmap!");
 		ubi_ro_mode(ubi);
 	} else {
 		return_fm_pebs(ubi, old_fm);