Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue
Subsystems (2)
PATCH 1/1 Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue
Fixed a coding style issue.
Signed-off-by Jannik Becher <[email protected]>
--- drivers/staging/rdma/hfi1/verbs_mcast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rdma/hfi1/verbs_mcast.c +3 -3
@@ -140,11 +140,11 @@ struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid) ret =memcmp (mgid->raw, mcast->mgid.raw,sizeof (union ib_gid )); -if (ret <0 ) +if (ret <0 ) { n = n->rb_left; -else if (ret >0 ) + }else if (ret >0 ) { n = n->rb_right; -else { + }else {atomic_inc (&mcast->refcount);spin_unlock_irqrestore (&ibp->lock, flags); goto bail;
Signature · 1 line
2.5.0
Quoted 17 lines · Jannik Becher
Fixed a coding style issue.
Signed-off-by Jannik Becher <[email protected]>---
drivers/staging/rdma/hfi1/verbs_mcast.c| 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)drivers/staging/rdma/hfi1/verbs_mcast.c +0
-1@@ -140,11 +140,11 @@ struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid) ret =memcmp (mgid->raw, mcast->mgid.raw,sizeof (union ib_gid )); -if (ret <0 )
drivers/staging/rdma/hfi1/verbs_mcast.c struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid) · line 150
Quoted 10 lines
drivers/staging/rdma/hfi1/verbs_mcast.c +3
-2+if (ret <0 ) { n = n->rb_left; - else if (ret > 0) + }else if (ret >0 ) { n = n->rb_right; - else { + }else {atomic_inc (&mcast->refcount);spin_unlock_irqrestore (&ibp->lock, flags); goto bail;
Doug,
This has been taken care already when I moved the code to rdmavt. Patch is submitted in the midst of my other stuff for 4.6. See:
http://www.spinics.net/lists/linux-rdma/msg32802.html
-Denny
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html