2017-07-03 09:37:28

by Colin King

[permalink] [raw]
Subject: [PATCH] ubi: fastmap: fix spelling mistake: "invalidiate" -> "invalidate"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in ubi_err error message

Signed-off-by: Colin Ian King <[email protected]>
---
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);
--
2.11.0


2017-07-03 11:35:44

by Boris Brezillon

[permalink] [raw]
Subject: Re: [PATCH] ubi: fastmap: fix spelling mistake: "invalidiate" -> "invalidate"

On Mon, 3 Jul 2017 10:37:01 +0100
Colin King <[email protected]> wrote:

> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in ubi_err error message
>
> Signed-off-by: Colin Ian King <[email protected]>

Reviewed-by: Boris Brezillon <[email protected]>

> ---
> 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);

2017-07-03 11:41:59

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] ubi: fastmap: fix spelling mistake: "invalidiate" -> "invalidate"

Colin,

Am 03.07.2017 um 11:37 schrieb Colin King:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in ubi_err error message
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> 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