[ovs-dev] [PATCH] Revert "travis: Disable check for array of flexible structures in sparse."
Gregory Rose
gvrose8192 at gmail.com
Mon Oct 12 20:27:16 UTC 2020
On 10/12/2020 11:15 AM, Ilya Maximets wrote:
> 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()
>
Acked-by: Greg Rose <gvrose8192 at gmail.com>
More information about the dev
mailing list