Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",