lkml.org 
[lkml]   [2022]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ipv6: exthdrs: use swap() instead of open coding it
From
Date
Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 12 Apr 2022 11:20:58 +0800 you wrote:
> Address the following coccicheck warning:
> net/ipv6/exthdrs.c:620:44-45: WARNING opportunity for swap()
>
> by using swap() for the swapping of variable values and drop
> the tmp (`addr`) variable that is not needed any more.
>
> Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
>
> [...]

Here is the summary with links:
- ipv6: exthdrs: use swap() instead of open coding it
https://git.kernel.org/netdev/net-next/c/5ee6ad1dcae8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2022-04-13 13:31    [W:0.031 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site