[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168655922240.2912.6853929575701794720.git-patchwork-notify@kernel.org>
Date: Mon, 12 Jun 2023 08:40:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, abaci@...ux.alibaba.com
Subject: Re: [PATCH] net/sched: act_pedit: Use kmemdup() to replace kmalloc +
memcpy
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Fri, 9 Jun 2023 15:01:17 +0800 you wrote:
> ./net/sched/act_pedit.c:245:21-28: WARNING opportunity for kmemdup.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5478
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> net/sched/act_pedit.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Here is the summary with links:
- net/sched: act_pedit: Use kmemdup() to replace kmalloc + memcpy
https://git.kernel.org/netdev/net-next/c/26e35370b976
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists