aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_sqp.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2015-05-31 17:15:29 -0400
committerDoug Ledford <dledford@redhat.com>2015-06-02 09:33:13 -0400
commit5ede9289859d94746d1ce55ad5ba038b42b9406c (patch)
treee825dd4e52823b85744c96891cc32e17af5be37c /drivers/infiniband/hw/ehca/ehca_sqp.c
parentMerge branches 'bart-srp', 'generic-errors', 'ira-cleanups' and 'mwang-v8' into k.o/for-4.2 (diff)
downloadlinux-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/ehca/ehca_sqp.c')
0 files changed, 0 insertions, 0 deletions