DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Subject: mlx5:  unitialized warning
Date: Fri, 17 Dec 2021 10:05:51 -0800	[thread overview]
Message-ID: <20211217100551.0de71855@hermes.local> (raw)

Building current main branch with gcc (Debian 10.2.1-6) 10.2.1 20210110


[1843/3131] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o
../drivers/net/mlx5/mlx5_flow_meter.c: In function ‘mlx5_flow_meter_create’:
../drivers/net/mlx5/mlx5_flow_meter.c:1170:33: warning: ‘legacy_fm’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1170 |  struct mlx5_legacy_flow_meter *legacy_fm;
      |                                 ^~~~~~~~~

             reply	other threads:[~2021-12-17 18:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 18:05 Stephen Hemminger [this message]
2021-12-17 19:01 ` Dmitry Kozlyuk
2021-12-17 19:19   ` Stephen Hemminger
2021-12-17 19:28     ` Dmitry Kozlyuk
2021-12-17 20:17       ` Stephen Hemminger

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=20211217100551.0de71855@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).