net/mlx5e: Fix printk format warning
authorOlof Johansson <olof@lixom.net>
Fri, 20 Dec 2019 00:15:17 +0000 (16:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:28:20 +0000 (22:28 -0800)
commitca9c74ae9be5e78541c2058db9a754947a7d4a9b
tree3c375bddfd42c4312bbcdc024320013937effecd
parentc5d19a6ecfce72d0352191d75f03eea4748a8c45
net/mlx5e: Fix printk format warning

Use "%zu" for size_t. Seen on ARM allmodconfig:

drivers/net/ethernet/mellanox/mlx5/core/wq.c: In function 'mlx5_wq_cyc_wqe_dump':
include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]

Fixes: 130c7b46c93d ("net/mlx5e: TX, Dump WQs wqe descriptors on CQE with error events")
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/wq.c