[PATCH] net/ice/base: allow array bounds warnings
Bruce Richardson
bruce.richardson at intel.com
Thu Aug 13 13:15:08 CEST 2026
Since there are no zero-length arrays in the base code any more, remove
the -Wno-array-bounds build flag.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/intel/ice/base/meson.build | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/intel/ice/base/meson.build b/drivers/net/intel/ice/base/meson.build
index fd079c41cf..da961f0752 100644
--- a/drivers/net/intel/ice/base/meson.build
+++ b/drivers/net/intel/ice/base/meson.build
@@ -44,11 +44,6 @@ else
]
endif
-# Bugzilla ID: 678
-if (toolchain == 'gcc' and cc.version().version_compare('>=11.0.0'))
- error_cflags += ['-Wno-array-bounds']
-endif
-
foreach flag: error_cflags
if cc.has_argument(flag)
base_cflags += flag
--
2.53.0
More information about the dev
mailing list