Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1660185 > unrolled thread

[PATCH] IB/core: fix semicolon.cocci warnings

Started byJulia Lawall <julia.lawall@lip6.fr>
First post2017-06-07 22:30 +0200
Last post2017-06-08 16:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] IB/core: fix semicolon.cocci warnings Julia Lawall <julia.lawall@lip6.fr> - 2017-06-07 22:30 +0200
    Re: [PATCH] IB/core: fix semicolon.cocci warnings Matan Barak <matanb@dev.mellanox.co.il> - 2017-06-08 16:20 +0200

#1660185 — [PATCH] IB/core: fix semicolon.cocci warnings

FromJulia Lawall <julia.lawall@lip6.fr>
Date2017-06-07 22:30 +0200
Subject[PATCH] IB/core: fix semicolon.cocci warnings
Message-ID<tPPKx-2VW-5@gated-at.bofh.it>
Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Matan Barak <matanb@mellanox.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 uverbs_ioctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/infiniband/core/uverbs_ioctl.c
+++ b/drivers/infiniband/core/uverbs_ioctl.c
@@ -114,7 +114,7 @@ static int uverbs_process_attr(struct ib
 		break;
 	default:
 		return -EOPNOTSUPP;
-	};
+	}

 	set_bit(attr_id, attr_array->valid_bitmap);
 	return 0;

[toc] | [next] | [standalone]


#1661311

FromMatan Barak <matanb@dev.mellanox.co.il>
Date2017-06-08 16:20 +0200
Message-ID<tQ6s1-5m5-1@gated-at.bofh.it>
In reply to#1660185
On Wed, Jun 7, 2017 at 11:26 PM, Julia Lawall <julia.lawall@lip6.fr> wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci

Thanks. I'll fix this in the next version of this series.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web