]> Git Repo - linux.git/commitdiff
dm clone: Fix typo in block_device format specifier
authorNikos Tsironis <[email protected]>
Thu, 29 Sep 2022 14:11:48 +0000 (17:11 +0300)
committerMike Snitzer <[email protected]>
Tue, 18 Oct 2022 21:17:48 +0000 (17:17 -0400)
Use %pg for printing the block device name, instead of %pd.

Fixes: 385411ffba0c ("dm: stop using bdevname")
Cc: [email protected] # v5.18+
Signed-off-by: Nikos Tsironis <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
drivers/md/dm-clone-target.c

index 811b0a5379d03d5487fd79b05fa4a1e71a437a23..2f1cc66d264123c31c46a60e8ccf81c52ecb696f 100644 (file)
@@ -2035,7 +2035,7 @@ static void disable_passdown_if_not_supported(struct clone *clone)
                reason = "max discard sectors smaller than a region";
 
        if (reason) {
-               DMWARN("Destination device (%pd) %s: Disabling discard passdown.",
+               DMWARN("Destination device (%pg) %s: Disabling discard passdown.",
                       dest_dev, reason);
                clear_bit(DM_CLONE_DISCARD_PASSDOWN, &clone->flags);
        }
This page took 0.059547 seconds and 4 git commands to generate.