[Intel-wired-lan] [PATCH net-next] ethernet/intel: Use list_for_each_entry() helper

Romanowski, Rafal rafal.romanowski at intel.com
Thu Aug 31 08:30:19 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Wednesday, August 23, 2023 9:56 PM
> To: Jinjie Ruan <ruanjinjie at huawei.com>; intel-wired-lan at lists.osuosl.org;
> netdev at vger.kernel.org; Brandeburg, Jesse <jesse.brandeburg at intel.com>;
> Nguyen, Anthony L <anthony.l.nguyen at intel.com>; David S. Miller
> <davem at davemloft.net>; Eric Dumazet <edumazet at google.com>; Jakub
> Kicinski <kuba at kernel.org>; Paolo Abeni <pabeni at redhat.com>
> Subject: Re: [Intel-wired-lan] [PATCH net-next] ethernet/intel: Use
> list_for_each_entry() helper
> 
> 
> 
> On 8/21/2023 6:42 AM, Jinjie Ruan wrote:
> > Convert list_for_each() to list_for_each_entry() where applicable.
> >
> > No functional changed.
> >
> > Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
> 
> Thanks for cleaning these up!
> 
> Reviewed-by: Jacob Keller <jacob.e.keller at intel.com>
> 
> > ---
> >  drivers/net/ethernet/intel/igb/igb_main.c      | 7 ++-----
> >  drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 7 ++-----
> >  2 files changed, 4 insertions(+), 10 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/intel/igb/igb_main.c
> > b/drivers/net/ethernet/intel/igb/igb_main.c
> > index 9f63a10c6f80..bf9c2f6a1164 100644
> > --- a/drivers/net/ethernet/intel/igb/igb_main.c
> > +++ b/drivers/net/ethernet/intel/igb/igb_main.c
> > @@ -7850,7 +7850,6 @@ static int igb_set_vf_mac_filter(struct


Tested-by: Rafal Romanowski <rafal.romanowski at intel.com>





More information about the Intel-wired-lan mailing list