[PATCH] examples/vmdq_dcb: initialize all configuration structures
Thomas Monjalon
thomas at monjalon.net
Tue Mar 17 17:52:22 CET 2026
19/02/2026 09:59, Bruce Richardson:
> 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 at dpdk.org
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> > ---
> > examples/vmdq_dcb/main.c | 31 +++++++++++++++----------------
> > 1 file changed, 15 insertions(+), 16 deletions(-)
> >
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
More information about the dev
mailing list