mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue