[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250623162113.GC506049@horms.kernel.org>
Date: Mon, 23 Jun 2025 17:21:13 +0100
From: Simon Horman <horms@...nel.org>
To: Jijie Shao <shaojijie@...wei.com>
Cc: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, andrew+netdev@...n.ch,
shenjian15@...wei.com, wangpeiyang1@...wei.com,
liuyonglong@...wei.com, chenhao418@...wei.com,
jonathan.cameron@...wei.com, shameerali.kolothum.thodi@...wei.com,
salil.mehta@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 net-next 5/8] net: hns3: set the freed pointers to
NULL when lifetime is not end
On Mon, Jun 23, 2025 at 09:44:45AM +0800, Jijie Shao wrote:
>
> on 2025/6/21 23:33, Jakub Kicinski wrote:
> > On Thu, 19 Jun 2025 22:40:54 +0800 Jijie Shao wrote:
> > > ChangeLog:
> > > v2 -> v3:
> > > - Remove unnecessary pointer set to NULL operation, suggested by Simon Horman.
> > > v2: https://lore.kernel.org/all/20250617010255.1183069-1-shaojijie@huawei.com/
> > You removed a single case, but I'm pretty sure Simon meant _all_
> > cases setting local variables to NULL in this patch are pointless.
>
> Ok, I will drop this patch in V4
Thanks, much appreciated.
Powered by blists - more mailing lists