aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c
index c06b18102b6a..2514de3480d8 100644
--- a/drivers/infiniband/core/cm.c
+++ b/drivers/infiniband/core/cm.c
@@ -856,7 +856,7 @@ static void cm_format_req(struct cm_req_msg *req_msg,
856 param->private_data_len); 856 param->private_data_len);
857} 857}
858 858
859static inline int cm_validate_req_param(struct ib_cm_req_param *param) 859static int cm_validate_req_param(struct ib_cm_req_param *param)
860{ 860{
861 /* peer-to-peer not supported */ 861 /* peer-to-peer not supported */
862 if (param->peer_to_peer) 862 if (param->peer_to_peer)
@@ -1005,7 +1005,7 @@ static inline int cm_is_active_peer(__be64 local_ca_guid, __be64 remote_ca_guid,
1005 (be32_to_cpu(local_qpn) > be32_to_cpu(remote_qpn)))); 1005 (be32_to_cpu(local_qpn) > be32_to_cpu(remote_qpn))));
1006} 1006}
1007 1007
1008static inline void cm_format_paths_from_req(struct cm_req_msg *req_msg, 1008static void cm_format_paths_from_req(struct cm_req_msg *req_msg,
1009 struct ib_sa_path_rec *primary_path, 1009 struct ib_sa_path_rec *primary_path,
1010 struct ib_sa_path_rec *alt_path) 1010 struct ib_sa_path_rec *alt_path)
1011{ 1011{