summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSsuhung Yeh <ssuhung@gmail.com>2024-10-31 18:25:59 +0800
committerMikulas Patocka <mpatocka@redhat.com>2024-11-20 11:38:04 +0100
commit2deb70d3e66d538404d9e71bff236e6d260da66e (patch)
tree415c7a343d172804b6e58a565e8db27b8555badd
parent51f0659f8777fe8ba9feef26e1d34f18edd1687c (diff)
dm: Fix typo in error message
Remove the redundant "i" at the beginning of the error message. This "i" came from commit 1c1318866928 ("dm: prefer '"%s...", __func__'"), the "i" is accidentally left. Signed-off-by: Ssuhung Yeh <ssuhung@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Fixes: 1c1318866928 ("dm: prefer '"%s...", __func__'") Cc: stable@vger.kernel.org # v6.3+
-rw-r--r--drivers/md/persistent-data/dm-space-map-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/persistent-data/dm-space-map-common.c b/drivers/md/persistent-data/dm-space-map-common.c
index 3a19124ee279..22a551c407da 100644
--- a/drivers/md/persistent-data/dm-space-map-common.c
+++ b/drivers/md/persistent-data/dm-space-map-common.c
@@ -51,7 +51,7 @@ static int index_check(const struct dm_block_validator *v,
block_size - sizeof(__le32),
INDEX_CSUM_XOR));
if (csum_disk != mi_le->csum) {
- DMERR_LIMIT("i%s failed: csum %u != wanted %u", __func__,
+ DMERR_LIMIT("%s failed: csum %u != wanted %u", __func__,
le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum));
return -EILSEQ;
}