2017-06-07 20:26:44

by Julia Lawall

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

Remove unneeded semicolon.

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

CC: Matan Barak <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---

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;


2017-06-08 14:10:48

by Matan Barak

[permalink] [raw]
Subject: Re: [PATCH] IB/core: fix semicolon.cocci warnings

On Wed, Jun 7, 2017 at 11:26 PM, Julia Lawall <[email protected]> wrote:
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci

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