Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tom Rix and committed by
Mike Snitzer
892c7a77 8358c28a

+1 -1
+1 -1
drivers/md/dm-dust.c
··· 130 130 131 131 dd->badblock_count++; 132 132 if (!dd->quiet_mode) { 133 - DMINFO("%s: badblock added at block %llu with write fail count %hhu", 133 + DMINFO("%s: badblock added at block %llu with write fail count %u", 134 134 __func__, block, wr_fail_cnt); 135 135 } 136 136 spin_unlock_irqrestore(&dd->dust_lock, flags);