[ovs-dev] [PATCH] Revert "travis: Disable check for array of flexible structures in sparse."

Aaron Conole aconole at redhat.com
Mon Oct 19 12:40:03 UTC 2020


Ilya Maximets <i.maximets at ovn.org> writes:

> 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>
> ---

Nice.

Acked-by: Aaron Conole <aconole at redhat.com>

>  .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()



More information about the dev mailing list