Message ID | 1638433842-41235-1-git-send-email-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1ebb87cc8928360d0eabf987d80512c7786594b1 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | gro: Fix inconsistent indenting | expand |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 2 Dec 2021 16:30:42 +0800 you wrote: > Eliminate the follow smatch warning: > > net/ipv6/ip6_offload.c:249 ipv6_gro_receive() warn: inconsistent > indenting. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > > [...] Here is the summary with links: - gro: Fix inconsistent indenting https://git.kernel.org/netdev/net/c/1ebb87cc8928 You are awesome, thank you!
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c index 4867488..b29e9ba 100644 --- a/net/ipv6/ip6_offload.c +++ b/net/ipv6/ip6_offload.c @@ -247,9 +247,9 @@ INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head, * memcmp() alone below is sufficient, right? */ if ((first_word & htonl(0xF00FFFFF)) || - !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || - !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || - *(u16 *)&iph->nexthdr != *(u16 *)&iph2->nexthdr) { + !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || + !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || + *(u16 *)&iph->nexthdr != *(u16 *)&iph2->nexthdr) { not_same_flow: NAPI_GRO_CB(p)->same_flow = 0; continue;
Eliminate the follow smatch warning: net/ipv6/ip6_offload.c:249 ipv6_gro_receive() warn: inconsistent indenting. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- net/ipv6/ip6_offload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)