diff options
author | Tom Rix <trix@redhat.com> | 2020-12-15 13:31:25 -0800 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-02-03 10:10:04 -0500 |
commit | 892c7a77f6c821d3ecaf8f5e45cc3ca372f653c3 (patch) | |
tree | d8af46c7f93a470cf568909c9143d824810b2e18 /drivers/md/dm-dust.c | |
parent | 8358c28a5d44bf0223a55a2334086c3707bb4185 (diff) | |
download | linux-stable-892c7a77f6c821d3ecaf8f5e45cc3ca372f653c3.tar.gz linux-stable-892c7a77f6c821d3ecaf8f5e45cc3ca372f653c3.tar.bz2 linux-stable-892c7a77f6c821d3ecaf8f5e45cc3ca372f653c3.zip |
dm dust: remove h from printk format specifier
See Documentation/core-api/printk-formats.rst.
commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]")
Standard integer promotion is already done and %hx and %hhx is useless
so do not encourage the use of %hh[xudi] or %h[xudi].
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-dust.c')
-rw-r--r-- | drivers/md/dm-dust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-dust.c b/drivers/md/dm-dust.c index 072ea913cebc..cbe1058ee589 100644 --- a/drivers/md/dm-dust.c +++ b/drivers/md/dm-dust.c @@ -130,7 +130,7 @@ static int dust_add_block(struct dust_device *dd, unsigned long long block, dd->badblock_count++; if (!dd->quiet_mode) { - DMINFO("%s: badblock added at block %llu with write fail count %hhu", + DMINFO("%s: badblock added at block %llu with write fail count %u", __func__, block, wr_fail_cnt); } spin_unlock_irqrestore(&dd->dust_lock, flags); |