From: Bruce Richardson <bruce.richardson@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: <dev@dpdk.org>, Anatoly Burakov <anatoly.burakov@intel.com>,
"Vladimir Medvedkin" <vladimir.medvedkin@intel.com>
Subject: Re: [PATCH 2/2] net/ixgbe: replace memcpy with structure assignment
Date: Thu, 13 Aug 2026 12:58:37 +0100 [thread overview]
Message-ID: <an2xbeQC3Plf_uMm@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260728143800.148509-2-stephen@networkplumber.org>
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@networkplumber.org>
> ---
> drivers/net/intel/ixgbe/ixgbe_flow.c | 39 +++++++---------------------
> 1 file changed, 10 insertions(+), 29 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
next prev parent reply other threads:[~2026-08-13 11:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 14:37 [PATCH 1/2] net/sxe2: replace memcpy with structure assignment Stephen Hemminger
2026-07-28 14:38 ` [PATCH 2/2] net/ixgbe: " Stephen Hemminger
2026-08-13 11:58 ` Bruce Richardson [this message]
2026-08-13 14:29 ` Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=an2xbeQC3Plf_uMm@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=vladimir.medvedkin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox