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)
commit1d3a3f3bfe3cfe9afc58a89b5de00efb30c55271
tree259fedf3a478cd6bda9b59bd74ffedc5032f7c62
parent1dd55ba2fb7029a6558f9dc10bbe570a3ffcc767
net/mlx5e: 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].

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