Jiapeng Chong
2022-Mar-07 00:41 UTC
[Bridge] [PATCH] netfilter: bridge: clean up some inconsistent indenting
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 at linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong at 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
Florian Westphal
2022-Mar-07 11:43 UTC
[Bridge] [PATCH] netfilter: bridge: clean up some inconsistent indenting
Jiapeng Chong <jiapeng.chong at 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.