]> git.hungrycats.org Git - linux/commitdiff
dm: Fix typo in error message
authorSsuhung Yeh <ssuhung@gmail.com>
Thu, 31 Oct 2024 10:25:59 +0000 (18:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2024 09:33:08 +0000 (10:33 +0100)
commit 2deb70d3e66d538404d9e71bff236e6d260da66e upstream.

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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/persistent-data/dm-space-map-common.c

index 591d1a43d0357216874d190334ac5eaeb5fffbe1..101736b80df826847bfba0bc3220282ca7c88619 100644 (file)
@@ -51,7 +51,7 @@ static int index_check(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;
        }