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


Groups > linux.kernel > #1660185

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

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject [PATCH] IB/core: fix semicolon.cocci warnings
Date 2017-06-07 22:30 +0200
Message-ID <tPPKx-2VW-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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;

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web