[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b4363fb0-a837-f452-8abe-549f4568f38a@gmail.com>
Date: Thu, 13 Jan 2022 21:30:02 -0700
From: David Ahern <dsahern@...il.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
davem@...emloft.net
Cc: yoshfuji@...ux-ipv6.org, dsahern@...nel.org, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] ipv6: ICMPV6: Use swap() instead of open coding it
On 1/13/22 9:17 AM, Jiapeng Chong wrote:
> Clean the following coccicheck warning:
>
> ./net/ipv6/icmp.c:348:25-26: WARNING opportunity for swap().
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> net/ipv6/icmp.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
looks fine to me but net-next is closed; resubmit when it opens.
Also, you need to add the tree to the subject line so in this case:
[PATCH net-next] ipv6: ICMPV6: Use swap() instead of open coding it
Powered by blists - more mailing lists