On Fri, Aug 21, 2026 at 12:24:49PM -0700, Stephen Hemminger wrote:
> The regular libc memcpy is inline for fix sizes and has
> better analysis coverage.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
Acked-by: Bruce Richardson <[email protected]>

>  drivers/net/intel/ice/ice_fdir_filter.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/intel/ice/ice_fdir_filter.c 
> b/drivers/net/intel/ice/ice_fdir_filter.c
> index d7ddd32f90..6d6fa04e72 100644
> --- a/drivers/net/intel/ice/ice_fdir_filter.c
> +++ b/drivers/net/intel/ice/ice_fdir_filter.c
> @@ -2873,8 +2873,8 @@ ice_fdir_parse_action(struct ice_adapter *ad,
>                       const struct rte_flow_action_count *act_count = 
> act->conf;
>  
>                       filter->input.cnt_ena = ICE_FXD_FLTR_QW0_STAT_ENA_PKTS;
> -                     rte_memcpy(&filter->act_count, act_count,
> -                                             sizeof(filter->act_count));
> +                     memcpy(&filter->act_count, act_count,
> +                            sizeof(filter->act_count));

Since you are editing this line already, can you remove the line break and
indentation. This should all fit on a single line now.

>                       break;
>               }
>               default:
> -- 
> 2.53.0
> 

Reply via email to