[PATCH] more replace memcpy with structure assignment

Thomas Monjalon thomas at monjalon.net
Sun Jun 29 22:13:07 CEST 2025


12/06/2025 05:08, Stephen Hemminger:
> Prefer using simple structure assignment instead of memcpy.
> Using a structure assignment preserves type information and
> compiler checks types already.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks.





More information about the dev mailing list