[PATCH 3/6] net/e1000/base: remove warning disable flags
Bruce Richardson
bruce.richardson at intel.com
Wed Oct 30 18:38:26 CET 2024
Not all the flags for disabling warnings on the base code are needed, so
remove the unnecessary ones.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/e1000/base/meson.build | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/e1000/base/meson.build b/drivers/net/e1000/base/meson.build
index 528a33f958..158badce43 100644
--- a/drivers/net/e1000/base/meson.build
+++ b/drivers/net/e1000/base/meson.build
@@ -22,9 +22,10 @@ sources = [
'e1000_vf.c',
]
-error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter',
- '-Wno-unused-variable', '-Wno-misleading-indentation',
- '-Wno-implicit-fallthrough']
+error_cflags = [
+ '-Wno-unused-parameter',
+ '-Wno-implicit-fallthrough'
+]
c_args = cflags
foreach flag: error_cflags
if cc.has_argument(flag)
--
2.43.0
More information about the dev
mailing list