[1/6] net/i40e/base: remove warning disable flags
Checks
Commit Message
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(-)
@@ -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