diff options
author | Nikos Tsironis <ntsironis@arrikto.com> | 2022-09-29 17:11:48 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-10-18 17:17:48 -0400 |
commit | 5434ee8d28575b2e784bd5b4dbfc912e5da90759 (patch) | |
tree | e72d446d973f90aef6104d6a9120df61a5e33775 | |
parent | 99f4f5bcb975527508eb7a5e3e34bdb91d576746 (diff) |
dm clone: Fix typo in block_device format specifier
Use %pg for printing the block device name, instead of %pd.
Fixes: 385411ffba0c ("dm: stop using bdevname")
Cc: stable@vger.kernel.org # v5.18+
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
-rw-r--r-- | drivers/md/dm-clone-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-clone-target.c b/drivers/md/dm-clone-target.c index 811b0a5379d0..2f1cc66d2641 100644 --- a/drivers/md/dm-clone-target.c +++ b/drivers/md/dm-clone-target.c @@ -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); } |