]> git.baikalelectronics.ru Git - kernel.git/commit
igb: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Wed, 23 Dec 2020 19:44:25 +0000 (11:44 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 4 Feb 2021 00:32:18 +0000 (16:32 -0800)
commitefc9e5b42bb616bdeb76417fdf1d56113775963e
treec3e0692ad688cef936a81c0f5622042bba59c0b4
parent49d7cff214e26ac876dae01d9a6d591bd06f492b
igb: remove h from printk format specifier

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

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c