From: Bruce Richardson <bruce.richardson@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: <dev@dpdk.org>, <stable@dpdk.org>,
Jingjing Wu <jingjing.wu@intel.com>,
Helin Zhang <helin.zhang@intel.com>
Subject: Re: [PATCH] examples/vmdq_dcb: initialize all configuration structures
Date: Thu, 19 Feb 2026 08:59:37 +0000 [thread overview]
Message-ID: <aZbQ-QZN_c-35Muv@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260219003354.83183-1-stephen@networkplumber.org>
On Wed, Feb 18, 2026 at 04:33:54PM -0800, Stephen Hemminger wrote:
> Replace field-by-field assignment of local configuration structures
> with designated initializers. This ensures all fields, including
> enable_loop_back and any padding, are zero-initialized.
>
> The Coverity warning was always latent; the earlier use of
> rte_memcpy() was hiding it from the analyzer.
>
> Coverity issue: 501603
> Fixes: 8cc72f2814dd ("examples/vmdq_dcb: support X710")
> Cc: stable@dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> examples/vmdq_dcb/main.c | 31 +++++++++++++++----------------
> 1 file changed, 15 insertions(+), 16 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
next prev parent reply other threads:[~2026-02-19 8:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 0:33 [PATCH] examples/vmdq_dcb: initialize all configuration structures Stephen Hemminger
2026-02-19 8:59 ` Bruce Richardson [this message]
2026-03-17 16:52 ` Thomas Monjalon
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=aZbQ-QZN_c-35Muv@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=helin.zhang@intel.com \
--cc=jingjing.wu@intel.com \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
/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