[PATCH] ethdev: replace rte_memcpy with assignment
Stephen Hemminger
stephen at networkplumber.org
Thu Oct 1 20:32:24 CEST 2026
On Thu, 1 Oct 2026 11:14:13 +0300
Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru> wrote:
> On 9/29/26 6:57 PM, Stephen Hemminger wrote:
> > Can use structure assignment instead of rte_memcpy here.
>
> It would be useful to mention in the description or summary why
> it is better.
>
> Right now the description say what is done, but it is obvious
> from the code change.
I thought it was obvious, it is mentioned in AGENTS.md and there
is a coccinelle script that finds places like this.
More information about the dev
mailing list