Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1338938
| From | Jannik Becher <becher.jannik@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue |
| Date | 2016-02-21 19:30 +0100 |
| Message-ID | <r4GVB-1CR-39@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Fixed a coding style issue.
Signed-off-by: Jannik Becher <Becher.Jannik@gmail.com>
---
drivers/staging/rdma/hfi1/verbs_mcast.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/verbs_mcast.c b/drivers/staging/rdma/hfi1/verbs_mcast.c
index afc6b4c..c45d4b1 100644
--- a/drivers/staging/rdma/hfi1/verbs_mcast.c
+++ b/drivers/staging/rdma/hfi1/verbs_mcast.c
@@ -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;
--
2.5.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue Jannik Becher <becher.jannik@gmail.com> - 2016-02-21 19:30 +0100
csiph-web