]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dm: Fix typo in error message
authorSsuhung Yeh <ssuhung@gmail.com>
Thu, 31 Oct 2024 10:25:59 +0000 (18:25 +0800)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 20 Nov 2024 10:38:04 +0000 (11:38 +0100)
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+
drivers/md/persistent-data/dm-space-map-common.c

index 3a19124ee27932c9d7d25305a04f9c79a15131dd..22a551c407da4976586400adf035482308bb7c0c 100644 (file)
@@ -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;
        }