]> 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)
commit5424e0b5d56fbdc25daec68b2da5d0e7cad96ae7
treec3e0692ad688cef936a81c0f5622042bba59c0b4
parent4f3dacd8961a7265a2064e99977c5533f8da9d36
igb: remove h from printk format specifier

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

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