]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbb8aad2ef036f2e71b15f1d40b192d8dc62cbd8
tree380a9f10d9589a36f6f3d99d64ef5ff9a5475c65
parente4a95fad0f364251333cd558e9055b015a8eac53
can: mcba_usb: remove h from printk format specifier

This change fixes the checkpatch warning described in this commit commit
04195fbf4af1 ("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