Re: [PATCH 2/2] net/ixgbe: replace memcpy with structure assignment
Bruce Richardson <[email protected]>
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> > --- > drivers/net/intel/ixgbe/ixgbe_flow.c | 39 +++++++--------------------- > 1 file changed, 10 insertions(+), 29 deletions(-) > Acked-by: Bruce Richardson <[email protected]>