projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad17a8
)
IB/mlx5: Fix duplicate const warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 12 Jul 2016 11:32:47 +0000
(11:32 +0000)
committer
Doug Ledford
<dledford@redhat.com>
Tue, 2 Aug 2016 17:00:33 +0000
(13:00 -0400)
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>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index
11e4866
..
1354722
100644
(file)
--- a/
drivers/infiniband/hw/mlx5/main.c
+++ b/
drivers/infiniband/hw/mlx5/main.c
@@
-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",