[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zdizphq09RItsiaA@boxer>
Date: Fri, 23 Feb 2024 16:03:02 +0100
From: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
To: Przemek Kitszel <przemyslaw.kitszel@...el.com>
CC: <intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>,
<anthony.l.nguyen@...el.com>, <magnus.karlsson@...el.com>
Subject: Re: [PATCH iwl-next 2/3] ice: avoid unnecessary devm_ usage
On Fri, Feb 23, 2024 at 08:45:20AM +0100, Przemek Kitszel wrote:
> On 2/22/24 15:50, Maciej Fijalkowski wrote:
> > 1. pcaps are free'd right after AQ routines are done, no need for
> > devm_'s
> > 2. a test frame for loopback test in ethtool -t is destroyed at the end
> > of the test so we don't need devm_ here either.
> >
> > Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
> > ---
> > drivers/net/ethernet/intel/ice/ice_common.c | 23 +++++++++-----------
> > drivers/net/ethernet/intel/ice/ice_ethtool.c | 4 ++--
> > 2 files changed, 12 insertions(+), 15 deletions(-)
> >
>
> nice, thank you!
>
> BTW, we are committed to using Scope Based Resource Management [1] even
> in the OOT driver, so you could consider that for future IWL submissions
> :)
Thanks for reminding me about this, will do that.
>
> [1] https://lwn.net/Articles/934679/
>
>
> I'm also happy with this as-is too, so:
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Powered by blists - more mailing lists