Messages in this thread | | | Date | Wed, 23 Mar 2022 08:48:06 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] net: mpls: fix memdup.cocci warning |
| |
On Wed, 23 Mar 2022 16:07:06 +0800 GONG, Ruiqi wrote: > Simply use kmemdup instead of explicitly allocating and copying memory. > > Generated by: scripts/coccinelle/api/memdup.cocci > > Fixes: 7d4741eacdef ("net: mpls: Fix notifications when deleting a device")
Fixes tag are for bugs.
> Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
net-next is closed during the merge window please repost in 2 weeks.
| |