Commit 892c7a77 authored by Tom Rix's avatar Tom Rix Committed by Mike Snitzer

dm dust: remove h from printk format specifier

See Documentation/core-api/printk-formats.rst.

commit cbacb5ab ("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: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 8358c28a
...@@ -130,7 +130,7 @@ static int dust_add_block(struct dust_device *dd, unsigned long long block, ...@@ -130,7 +130,7 @@ static int dust_add_block(struct dust_device *dd, unsigned long long block,
dd->badblock_count++; dd->badblock_count++;
if (!dd->quiet_mode) { 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); __func__, block, wr_fail_cnt);
} }
spin_unlock_irqrestore(&dd->dust_lock, flags); spin_unlock_irqrestore(&dd->dust_lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment