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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
0ad17a8f7f
commit
619615005e
|
@ -2576,7 +2576,7 @@ dealloc_counters:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static const char const *names[] = {
|
||||
static const char * const names[] = {
|
||||
"rx_write_requests",
|
||||
"rx_read_requests",
|
||||
"rx_atomic_requests",
|
||||
|
|
Loading…
Reference in New Issue