OSDN Git Service

can: mcba_usb: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Sun, 24 Jan 2021 15:09:16 +0000 (07:09 -0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Jan 2021 09:01:46 +0000 (10:01 +0100)
commit22d63be91c5016207d0de25ed279707865f07e4f
tree380a9f10d9589a36f6f3d99d64ef5ff9a5475c65
parent54eca60b1c94fb1de3e59a936d428a291879de8a
can: mcba_usb: remove h from printk format specifier

This change fixes the checkpatch warning described in this commit 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].

Link: https://lore.kernel.org/r/20210124150916.1920434-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/mcba_usb.c