lkml.org 
[lkml]   [2022]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2022-03-23 16:48    [W:0.029 / U:2.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site