Messages in this thread | | | Subject | Re: [PATCH] net: mpls: fix memdup.cocci warning | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 08 Apr 2022 04:20:12 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>:
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@huawei.com> > --- > 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
| |