Commit 61961500 authored by Wei Yongjun's avatar Wei Yongjun Committed by Doug Ledford

IB/mlx5: Fix duplicate const warning

Fixes the following sparse warning:

drivers/infiniband/hw/mlx5/main.c:2574:25: warning: duplicate const
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 0ad17a8f
......@@ -2576,7 +2576,7 @@ static int mlx5_ib_alloc_q_counters(struct mlx5_ib_dev *dev)
return ret;
}
static const char const *names[] = {
static const char * const names[] = {
"rx_write_requests",
"rx_read_requests",
"rx_atomic_requests",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment