linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: bridge: clean up some inconsistent indenting
@ 2022-03-07  0:41 Jiapeng Chong
  2022-03-07 11:43 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-03-07  0:41 UTC (permalink / raw)
  To: pablo
  Cc: kadlec, fw, roopa, razor, davem, kuba, netfilter-devel, coreteam,
	bridge, netdev, linux-kernel, Jiapeng Chong, Abaci Robot

Eliminate the follow smatch warning:

net/bridge/netfilter/nf_conntrack_bridge.c:385 nf_ct_bridge_confirm()
warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 net/bridge/netfilter/nf_conntrack_bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/bridge/netfilter/nf_conntrack_bridge.c b/net/bridge/netfilter/nf_conntrack_bridge.c
index ebfb2a5c59e4..73242962be5d 100644
--- a/net/bridge/netfilter/nf_conntrack_bridge.c
+++ b/net/bridge/netfilter/nf_conntrack_bridge.c
@@ -381,7 +381,7 @@ static unsigned int nf_ct_bridge_confirm(struct sk_buff *skb)
 		protoff = skb_network_offset(skb) + ip_hdrlen(skb);
 		break;
 	case htons(ETH_P_IPV6): {
-		 unsigned char pnum = ipv6_hdr(skb)->nexthdr;
+		unsigned char pnum = ipv6_hdr(skb)->nexthdr;
 		__be16 frag_off;
 
 		protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum,
-- 
2.20.1.7.g153144c


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

* Re: [PATCH] netfilter: bridge: clean up some inconsistent indenting
  2022-03-07  0:41 [PATCH] netfilter: bridge: clean up some inconsistent indenting Jiapeng Chong
@ 2022-03-07 11:43 ` Florian Westphal
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2022-03-07 11:43 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: pablo, kadlec, fw, roopa, razor, davem, kuba, netfilter-devel,
	coreteam, bridge, netdev, linux-kernel, Abaci Robot

Jiapeng Chong <jiapeng.chong@linux.alibaba.com> wrote:
> Eliminate the follow smatch warning:
> 
> net/bridge/netfilter/nf_conntrack_bridge.c:385 nf_ct_bridge_confirm()
> warn: inconsistent indenting.

Applied to nf-next, thanks.

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

end of thread, other threads:[~2022-03-07 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07  0:41 [PATCH] netfilter: bridge: clean up some inconsistent indenting Jiapeng Chong
2022-03-07 11:43 ` Florian Westphal

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).