[ovs-dev] [PATCH] Revert "travis: Disable check for array of flexible structures in sparse."
Ilya Maximets
i.maximets at ovn.org
Mon Oct 12 18:15:39 UTC 2020
This reverts commit 3c6b3a519ae6eae3da4cf7c59894b02b95cdade7.
The fix landed to Sparse main repository [1]:
b5d46df743be ("flex-array: allow arrays of unions with flexible members.")
[1] https://git.kernel.org/pub/scm/devel/sparse/sparse.git
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
---
.travis/linux-build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index 6b6935794..6981d1d47 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -4,7 +4,7 @@ set -o errexit
set -x
CFLAGS_FOR_OVS="-g -O2"
-SPARSE_FLAGS="-Wno-flexible-array-array"
+SPARSE_FLAGS=""
EXTRA_OPTS="--enable-Werror"
function install_kernel()
--
2.25.4
More information about the dev
mailing list