DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>,
	David Marchand <david.marchand@redhat.com>
Subject: [PATCH 1/6] net/i40e/base: remove warning disable flags
Date: Wed, 30 Oct 2024 17:38:24 +0000	[thread overview]
Message-ID: <20241030173830.881368-2-bruce.richardson@intel.com> (raw)
In-Reply-To: <20241030173830.881368-1-bruce.richardson@intel.com>

The i40e base code driver has a number of unnecessary warning disabling
flags. We can remove three flags warning about variable format errors.
In the process, simplify the list to one flag per line.

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/net/i40e/base/meson.build | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build
index d94108629b..a0912b1788 100644
--- a/drivers/net/i40e/base/meson.build
+++ b/drivers/net/i40e/base/meson.build
@@ -11,10 +11,11 @@ sources = [
         'i40e_nvm.c',
 ]
 
-error_cflags = ['-Wno-sign-compare', '-Wno-unused-value',
-        '-Wno-format', '-Wno-format-security',
-        '-Wno-format-nonliteral',
-        '-Wno-strict-aliasing', '-Wno-unused-but-set-variable',
+error_cflags = [
+        '-Wno-sign-compare',
+        '-Wno-unused-value',
+        '-Wno-strict-aliasing',
+        '-Wno-unused-but-set-variable',
         '-Wno-unused-parameter',
 ]
 c_args = cflags
-- 
2.43.0


  reply	other threads:[~2024-10-30 17:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 17:38 [PATCH 0/6] reduce number of warnings being disabled Bruce Richardson
2024-10-30 17:38 ` Bruce Richardson [this message]
2024-10-30 17:38 ` [PATCH 2/6] net/ice/base: remove warning disable flag Bruce Richardson
2024-10-30 17:38 ` [PATCH 3/6] net/e1000/base: remove warning disable flags Bruce Richardson
2024-10-30 17:38 ` [PATCH 4/6] net/iavf: remove warning disable flag Bruce Richardson
2024-10-30 17:38 ` [PATCH 5/6] net/fm10k/base: remove warning disable flags Bruce Richardson
2024-10-30 17:38 ` [PATCH 6/6] common/idpf/base: " Bruce Richardson
2024-10-30 18:17 ` [PATCH 0/6] reduce number of warnings being disabled Konstantin Ananyev

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=20241030173830.881368-2-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --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).