diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 11e48665d9530043a4d6050b880aec0151737a5d..1354722e97c51037f3a7b5b4a95343514022e216 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -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",