summaryrefslogtreecommitdiffstats
path: root/drivers/memstick
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-07-28 12:32:54 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-08-24 10:15:33 +0200
commit60885bfb2a478ceb3b1b766be550eb364a595074 (patch)
tree2ddd84a5aef8a9c35d0c7b486dd0a10a5081baa6 /drivers/memstick
parentmmc: core: Only print retune error when we don't check for card removal (diff)
downloadlinux-60885bfb2a478ceb3b1b766be550eb364a595074.tar.xz
linux-60885bfb2a478ceb3b1b766be550eb364a595074.zip
memstick: ms_block: Fix spelling contraction "cant" -> "can't"
There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20210728103254.171546-1-colin.king@canonical.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
-rw-r--r--drivers/memstick/core/ms_block.c2
1 files changed, 1 insertions, 1 deletions
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;
}