[PATCH 2/2] net/ixgbe: replace memcpy with structure assignment

Bruce Richardson bruce.richardson at intel.com
Thu Aug 13 13:58:37 CEST 2026


On Tue, Jul 28, 2026 at 07:38:00AM -0700, Stephen Hemminger wrote:
> Where possible use structure assignment instead of memcpy
> to preserve type checking. Found by cocci/struct-assign.cocci.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  drivers/net/intel/ixgbe/ixgbe_flow.c | 39 +++++++---------------------
>  1 file changed, 10 insertions(+), 29 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list