]> 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)
commite01438a02a9ef7862c542286166012bf1406ba0e
tree259fedf3a478cd6bda9b59bd74ffedc5032f7c62
parent9a2932c35e65b9aaf9ee7cfe0b7de9eb9ac6e625
net/mlx5e: remove h from printk format specifier

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