Skip to content

Commit 2deb70d

Browse files
ssuhungMikulas Patocka
authored andcommitted
dm: Fix typo in error message
Remove the redundant "i" at the beginning of the error message. This "i" came from commit 1c13188 ("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: 1c13188 ("dm: prefer '"%s...", __func__'") Cc: stable@vger.kernel.org # v6.3+
1 parent 51f0659 commit 2deb70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/persistent-data/dm-space-map-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static int index_check(const struct dm_block_validator *v,
5151
block_size - sizeof(__le32),
5252
INDEX_CSUM_XOR));
5353
if (csum_disk != mi_le->csum) {
54-
DMERR_LIMIT("i%s failed: csum %u != wanted %u", __func__,
54+
DMERR_LIMIT("%s failed: csum %u != wanted %u", __func__,
5555
le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum));
5656
return -EILSEQ;
5757
}

0 commit comments

Comments
 (0)