[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220323084806.41291408@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 23 Mar 2022 08:48:06 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "GONG, Ruiqi" <gongruiqi1@...wei.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
Benjamin Poirier <bpoirier@...dia.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Wang Weiyang <wangweiyang2@...wei.com>,
"Xiu Jianfeng" <xiujianfeng@...wei.com>
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@...wei.com>
net-next is closed during the merge window please repost in 2 weeks.
Powered by blists - more mailing lists