diff options
author | Kamal Heib <kamalh@mellanox.com> | 2017-08-17 14:50:52 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 22:44:48 +0200 |
commit | fab773cb51150ea29ec041d5d001845fac026a3b (patch) | |
tree | 963bef6902e1e37a11230582f5b28dbae46c4fb0 /drivers/infiniband | |
parent | IB/ipoib: Sync between remove_one to sysfs calls that use rtnl_lock (diff) | |
download | linux-fab773cb51150ea29ec041d5d001845fac026a3b.tar.xz linux-fab773cb51150ea29ec041d5d001845fac026a3b.zip |
IB/rxe: Make rxe_counter_name static
rxe_counter_name is used in rxe_hw_counters.c only. Make it static.
Fixes: 0b1e5b99a48b ('IB/rxe: Add port protocol stats')
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_hw_counters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_hw_counters.c b/drivers/infiniband/sw/rxe/rxe_hw_counters.c index 7ef90aad7dfd..6aeb7a165e46 100644 --- a/drivers/infiniband/sw/rxe/rxe_hw_counters.c +++ b/drivers/infiniband/sw/rxe/rxe_hw_counters.c @@ -33,7 +33,7 @@ #include "rxe.h" #include "rxe_hw_counters.h" -const char * const rxe_counter_name[] = { +static const char * const rxe_counter_name[] = { [RXE_CNT_SENT_PKTS] = "sent_pkts", [RXE_CNT_RCVD_PKTS] = "rcvd_pkts", [RXE_CNT_DUP_REQ] = "duplicate_request", |