OSDN Git Service

sgi-xp: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Sat, 23 Jan 2021 16:00:03 +0000 (08:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jan 2021 18:36:02 +0000 (19:36 +0100)
commitc41e21dca8dc6899611c6df1fa4e6b55097ceada
tree02e3752beb481dd57fba1d18df6e1ed5471c7864
parent26c2e922614074da5146aa538c5afaf19112bae1
sgi-xp: 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].

Reviewed-By: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20210123160003.1777766-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-xp/xpnet.c