diff options
author | Ira Weiny <ira.weiny@intel.com> | 2015-05-31 17:15:29 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-06-02 09:33:13 -0400 |
commit | 5ede9289859d94746d1ce55ad5ba038b42b9406c (patch) | |
tree | e825dd4e52823b85744c96891cc32e17af5be37c /drivers/infiniband/hw/cxgb3 | |
parent | Merge branches 'bart-srp', 'generic-errors', 'ira-cleanups' and 'mwang-v8' into k.o/for-4.2 (diff) | |
download | linux-dev-5ede9289859d94746d1ce55ad5ba038b42b9406c.tar.xz linux-dev-5ede9289859d94746d1ce55ad5ba038b42b9406c.zip |
IB/core cleanup: Add const to RDMA helpers
The ib_device passed to the new RDMA helpers is constant. Declare the
ib_device as const in the following functions.
rdma_protocol_ib
rdma_protocol_roce
rdma_protocol_iwarp
rdma_ib_or_roce
rdma_cap_ib_mad
rdma_cap_ib_smi
rdma_cap_ib_cm
rdma_cap_iw_cm
rdma_cap_ib_sa
rdma_cap_ib_mcast
rdma_cap_af_ib
rdma_cap_eth_ah
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3')
0 files changed, 0 insertions, 0 deletions