[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aIBps1pWsmrZhoDu@mev-dev.igk.intel.com>
Date: Wed, 23 Jul 2025 06:48:51 +0200
From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
To: "Loktionov, Aleksandr" <aleksandr.loktionov@...el.com>
Cc: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>,
"dawid.osuchowski@...ux.intel.com" <dawid.osuchowski@...ux.intel.com>
Subject: Re: [Intel-wired-lan] [PATCH iwl-next v1 02/15] ice: move
get_fwlog_data() to fwlog file
On Tue, Jul 22, 2025 at 12:02:52PM +0000, Loktionov, Aleksandr wrote:
>
>
> > -----Original Message-----
> > From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf
> > Of Michal Swiatkowski
> > Sent: Tuesday, July 22, 2025 12:46 PM
> > To: intel-wired-lan@...ts.osuosl.org
> > Cc: netdev@...r.kernel.org; Kitszel, Przemyslaw
> > <przemyslaw.kitszel@...el.com>; dawid.osuchowski@...ux.intel.com;
> > Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> > Subject: [Intel-wired-lan] [PATCH iwl-next v1 02/15] ice: move
> > get_fwlog_data() to fwlog file
> >
> > Change the function prototype to receive hw structure instead of pf to
> > simplify the call. Instead of passing whole event pass only msg_buf
> > pointer and length.
> >
> > Make ice_fwlog_ring_full() static as it isn't called from any other
> > context.
> >
> > Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
> > Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> > ---
> > drivers/net/ethernet/intel/ice/ice_fwlog.c | 27 +++++++++++++++++++-
> > drivers/net/ethernet/intel/ice/ice_fwlog.h | 2 +-
> > drivers/net/ethernet/intel/ice/ice_main.c | 29 ++--------------------
> > 3 files changed, 29 insertions(+), 29 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/intel/ice/ice_fwlog.c
> > b/drivers/net/ethernet/intel/ice/ice_fwlog.c
> > index e48856206648..ea5d6d2d3f30 100644
> > --- a/drivers/net/ethernet/intel/ice/ice_fwlog.c
> > +++ b/drivers/net/ethernet/intel/ice/ice_fwlog.c
> > @@ -6,7 +6,7 @@
> > #include "ice_common.h"
> > #include "ice_fwlog.h"
> >
> > -bool ice_fwlog_ring_full(struct ice_fwlog_ring *rings)
> > +static bool ice_fwlog_ring_full(struct ice_fwlog_ring *rings)
> > {
> > u16 head, tail;
> >
> Can you consider adding kernel-doc for ice_fwlog_ring_full()?
>
I will add it.
Powered by blists - more mailing lists