Re: [PATCH] net: mpls: fix memdup.cocci warning

From: patchwork-bot+netdevbpf
Date: Fri Apr 08 2022 - 00:20:23 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 6 Apr 2022 19:46:29 +0800 you wrote:
> Simply use kmemdup instead of explicitly allocating and copying memory.
>
> Generated by: scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: GONG, Ruiqi <gongruiqi1@xxxxxxxxxx>
> ---
> net/mpls/af_mpls.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Here is the summary with links:
- net: mpls: fix memdup.cocci warning
https://git.kernel.org/netdev/net-next/c/27a5a5685d37

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