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


Groups > linux.kernel > #1590141 > unrolled thread

[PATCH] Net: openvswitch: actions: fixed a brace coding style warning

Started byPeter Downs <padowns@gmail.com>
First post2017-03-01 10:40 +0100
Last post2017-03-02 22:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Net: openvswitch: actions: fixed a brace coding style warning Peter Downs <padowns@gmail.com> - 2017-03-01 10:40 +0100
    Re: [PATCH] Net: openvswitch: actions: fixed a brace coding style  warning David Miller <davem@davemloft.net> - 2017-03-02 22:30 +0100

#1590141 — [PATCH] Net: openvswitch: actions: fixed a brace coding style warning

FromPeter Downs <padowns@gmail.com>
Date2017-03-01 10:40 +0100
Subject[PATCH] Net: openvswitch: actions: fixed a brace coding style warning
Message-ID<tg8TM-179-33@gated-at.bofh.it>
Fixed a brace coding style warning reported by checkpatch.pl

Signed-off-by: Peter Downs <padowns@gmail.com>
---
 net/openvswitch/actions.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c
index b1beb2b..c82301c 100644
--- a/net/openvswitch/actions.c
+++ b/net/openvswitch/actions.c
@@ -796,9 +796,8 @@ static void ovs_fragment(struct net *net, struct vport *vport,
 		unsigned long orig_dst;
 		struct rt6_info ovs_rt;
 
-		if (!v6ops) {
+		if (!v6ops)
 			goto err;
-		}
 
 		prepare_frag(vport, skb, orig_network_offset,
 			     ovs_key_mac_proto(key));
-- 
2.1.4

[toc] | [next] | [standalone]


#1591480 — Re: [PATCH] Net: openvswitch: actions: fixed a brace coding style warning

FromDavid Miller <davem@davemloft.net>
Date2017-03-02 22:30 +0100
SubjectRe: [PATCH] Net: openvswitch: actions: fixed a brace coding style warning
Message-ID<tgGsq-852-37@gated-at.bofh.it>
In reply to#1590141
From: Peter Downs <padowns@gmail.com>
Date: Wed,  1 Mar 2017 01:01:17 -0800

> Fixed a brace coding style warning reported by checkpatch.pl
> 
> Signed-off-by: Peter Downs <padowns@gmail.com>

Applied.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web