netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-next] flow_netlink: Remove unneeded semicolons
@ 2018-01-17 21:10 Christopher Díaz Riveros
  2018-01-18 21:25 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Díaz Riveros @ 2018-01-17 21:10 UTC (permalink / raw)
  To: pshelar; +Cc: davem, netdev, Christopher Díaz Riveros

Trivial fix removes unneeded semicolons after if blocks.

This issue was detected by using the Coccinelle software.

Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org>
---
 net/openvswitch/flow_netlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c
index f143908b651d..eb55f1b3d047 100644
--- a/net/openvswitch/flow_netlink.c
+++ b/net/openvswitch/flow_netlink.c
@@ -2454,7 +2454,7 @@ static int validate_geneve_opts(struct sw_flow_key *key)
 
 		option = (struct geneve_opt *)((u8 *)option + len);
 		opts_len -= len;
-	};
+	}
 
 	key->tun_key.tun_flags |= crit_opt ? TUNNEL_CRIT_OPT : 0;
 
@@ -2487,7 +2487,7 @@ static int validate_and_copy_set_tun(const struct nlattr *attr,
 		case OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS:
 			break;
 		}
-	};
+	}
 
 	start = add_nested_action_start(sfa, OVS_ACTION_ATTR_SET, log);
 	if (start < 0)
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH-next] flow_netlink: Remove unneeded semicolons
  2018-01-17 21:10 [PATCH-next] flow_netlink: Remove unneeded semicolons Christopher Díaz Riveros
@ 2018-01-18 21:25 ` David Miller
  2018-01-19  3:29   ` Christopher Díaz Riveros
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2018-01-18 21:25 UTC (permalink / raw)
  To: chrisadr; +Cc: pshelar, netdev

From: Christopher Díaz Riveros <chrisadr@gentoo.org>
Date: Wed, 17 Jan 2018 16:10:28 -0500

> Trivial fix removes unneeded semicolons after if blocks.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH-next] flow_netlink: Remove unneeded semicolons
  2018-01-18 21:25 ` David Miller
@ 2018-01-19  3:29   ` Christopher Díaz Riveros
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Díaz Riveros @ 2018-01-19  3:29 UTC (permalink / raw)
  To: David Miller; +Cc: pshelar, netdev

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

El jue, 18-01-2018 a las 16:25 -0500, David Miller escribió:
> From: Christopher Díaz Riveros <chrisadr@gentoo.org>
> Date: Wed, 17 Jan 2018 16:10:28 -0500
> 
> > Trivial fix removes unneeded semicolons after if blocks.
> > 
> > This issue was detected by using the Coccinelle software.
> > 
> > Signed-off-by: Christopher Díaz Riveros <chrisadr@gentoo.org>
> 
> Applied, thanks.

Thank you David,

It's actually my first patch accepted in the kernel :) sorry if it's a
very tiny trivial one, but I'll keep learning and sending more
meaningful ones in the future.

Regards,
-- 
Christopher Díaz Riveros
Gentoo Linux Developer
GPG Fingerprint: E517 5ECB 8152 98E4 FEBC  2BAA 4DBB D10F 0FDD 2547

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 636 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-19  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 21:10 [PATCH-next] flow_netlink: Remove unneeded semicolons Christopher Díaz Riveros
2018-01-18 21:25 ` David Miller
2018-01-19  3:29   ` Christopher Díaz Riveros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).