There is unreachable code in the base/ files imported from the
vendor. Add the flag next to the -Wno-comma already disabled for
that code, so the driver's own sources are still checked.

Signed-off-by: Stephen Hemminger <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
---
 drivers/raw/ifpga/base/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/raw/ifpga/base/meson.build 
b/drivers/raw/ifpga/base/meson.build
index 225bde052b..ad344674a1 100644
--- a/drivers/raw/ifpga/base/meson.build
+++ b/drivers/raw/ifpga/base/meson.build
@@ -25,3 +25,4 @@ base_sources = files(
         'opae_eth_group.c',
 )
 base_cflags += no_comma_cflag
+base_cflags += no_unreachable_cflag
-- 
2.53.0

Reply via email to