summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/ud.c
diff options
context:
space:
mode:
authorJubin John <jubin.john@intel.com>2016-02-14 20:21:52 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:45:41 -0500
commit17fb4f2923d7fc7ee778dedc0aa60ab6f402f56c (patch)
treee540d67f7c73aed695635a79deb31df8fae4e621 /drivers/staging/rdma/hfi1/ud.c
parent4d114fdd90ab4152a1477593edd9375be71d282d (diff)
downloadlinux-stable-17fb4f2923d7fc7ee778dedc0aa60ab6f402f56c.tar.gz
linux-stable-17fb4f2923d7fc7ee778dedc0aa60ab6f402f56c.tar.bz2
linux-stable-17fb4f2923d7fc7ee778dedc0aa60ab6f402f56c.zip
staging/rdma/hfi1: Fix code alignment
Fix code alignment to fix checkpatch check: CHECK: Alignment should match open parenthesis Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/ud.c')
-rw-r--r--drivers/staging/rdma/hfi1/ud.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/rdma/hfi1/ud.c b/drivers/staging/rdma/hfi1/ud.c
index c3f069725be6..ea8f706cf4ec 100644
--- a/drivers/staging/rdma/hfi1/ud.c
+++ b/drivers/staging/rdma/hfi1/ud.c
@@ -320,9 +320,10 @@ int hfi1_make_ud_req(struct rvt_qp *qp, struct hfi1_pkt_state *ps)
if (ah_attr->dlid < be16_to_cpu(IB_MULTICAST_LID_BASE) ||
ah_attr->dlid == be16_to_cpu(IB_LID_PERMISSIVE)) {
lid = ah_attr->dlid & ~((1 << ppd->lmc) - 1);
- if (unlikely(!loopback && (lid == ppd->lid ||
- (lid == be16_to_cpu(IB_LID_PERMISSIVE) &&
- qp->ibqp.qp_type == IB_QPT_GSI)))) {
+ if (unlikely(!loopback &&
+ (lid == ppd->lid ||
+ (lid == be16_to_cpu(IB_LID_PERMISSIVE) &&
+ qp->ibqp.qp_type == IB_QPT_GSI)))) {
unsigned long flags;
/*
* If DMAs are in progress, we can't generate