From: David Ahern <dsahern@gmail.com>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, davem@davemloft.net
Cc: yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH] ipv6: ICMPV6: Use swap() instead of open coding it
Date: Thu, 13 Jan 2022 21:30:02 -0700 [thread overview]
Message-ID: <b4363fb0-a837-f452-8abe-549f4568f38a@gmail.com> (raw)
In-Reply-To: <20220113161731.130554-1-jiapeng.chong@linux.alibaba.com>
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@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.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
next prev parent reply other threads:[~2022-01-14 4:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 16:17 [PATCH] ipv6: ICMPV6: Use swap() instead of open coding it Jiapeng Chong
2022-01-14 4:30 ` David Ahern [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-31 6:34 Jiapeng Chong
2023-01-31 12:55 ` Simon Horman
2023-01-31 16:03 ` David Ahern
2023-02-02 4:00 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4363fb0-a837-f452-8abe-549f4568f38a@gmail.com \
--to=dsahern@gmail.com \
--cc=abaci@linux.alibaba.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=jiapeng.chong@linux.alibaba.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).