]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Sun, 24 Jan 2021 19:08:04 +0000 (11:08 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jan 2021 01:47:33 +0000 (17:47 -0800)
commita0a5a9e7d4d070e033d214473feefe757fbf557a
tree45b6fb3de841f702120d292f78a1aa44b535df18
parent88e8f0dbc9591a44a16d2dad8120f4ab92b67157
ipvlan: remove h from printk format specifier

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

Cleanup output to use __func__ over explicit function strings.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20210124190804.1964580-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipvlan/ipvlan_core.c