Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342248 > unrolled thread
| Started by | Dennis Dalessandro <dennis.dalessandro@intel.com> |
|---|---|
| First post | 2016-02-24 18:30 +0100 |
| Last post | 2016-02-24 18:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue Dennis Dalessandro <dennis.dalessandro@intel.com> - 2016-02-24 18:30 +0100
| From | Dennis Dalessandro <dennis.dalessandro@intel.com> |
|---|---|
| Date | 2016-02-24 18:30 +0100 |
| Subject | Re: [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue |
| Message-ID | <r5Lqb-7M2-29@gated-at.bofh.it> |
On Sun, Feb 21, 2016 at 04:30:39PM +0100, Jannik Becher wrote:
>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;
>--
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
Back to top | Article view | linux.kernel
csiph-web