diff mbox series

ms_block: Fix spelling contraction "cant" -> "can't"

Message ID 20210728103254.171546-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series ms_block: Fix spelling contraction "cant" -> "can't" | expand

Commit Message

Colin King July 28, 2021, 10:32 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in a pr_err message. Fix it.

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

Comments

Ulf Hansson Aug. 6, 2021, 1:07 p.m. UTC | #1
On Wed, 28 Jul 2021 at 12:32, Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in a pr_err message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/memstick/core/ms_block.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
> index 4a4573fa7b0f..acf36676e388 100644
> --- a/drivers/memstick/core/ms_block.c
> +++ b/drivers/memstick/core/ms_block.c
> @@ -1105,7 +1105,7 @@ static u16 msb_get_free_block(struct msb_data *msb, int zone)
>         dbg_verbose("result of the free blocks scan: pba %d", pba);
>
>         if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) {
> -               pr_err("BUG: cant get a free block");
> +               pr_err("BUG: can't get a free block");
>                 msb->read_only = true;
>                 return MS_BLOCK_INVALID;
>         }
> --
> 2.31.1
>
diff mbox series

Patch

diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
index 4a4573fa7b0f..acf36676e388 100644
--- a/drivers/memstick/core/ms_block.c
+++ b/drivers/memstick/core/ms_block.c
@@ -1105,7 +1105,7 @@  static u16 msb_get_free_block(struct msb_data *msb, int zone)
 	dbg_verbose("result of the free blocks scan: pba %d", pba);
 
 	if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) {
-		pr_err("BUG: cant get a free block");
+		pr_err("BUG: can't get a free block");
 		msb->read_only = true;
 		return MS_BLOCK_INVALID;
 	}