From: Jannik Becher <becher.jannik@gmail.com>
To: infinipath@intel.com
Cc: linux-rdma@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue
Date: Sun, 21 Feb 2016 16:30:39 +0100 [thread overview]
Message-ID: <1456068639-4745-1-git-send-email-Becher.Jannik@gmail.com> (raw)
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
next reply other threads:[~2016-02-21 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-21 15:30 Jannik Becher [this message]
[not found] ` <1456068639-4745-1-git-send-email-Becher.Jannik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-02-24 17:08 ` [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue Dennis Dalessandro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456068639-4745-1-git-send-email-Becher.Jannik@gmail.com \
--to=becher.jannik@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=infinipath@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox