]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Wed, 23 Dec 2020 19:45:12 +0000 (11:45 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 2 Feb 2021 06:52:35 +0000 (22:52 -0800)
commitdb2be7a737adcb3ec62c7bc93c9b0cca269360d7
tree259fedf3a478cd6bda9b59bd74ffedc5032f7c62
parent73abf2276e0598856065b02068785de56caaa65e
net/mlx5e: 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].

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/params.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c