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

Ilya Maximets i.maximets at ovn.org
Mon Oct 19 13:19:15 UTC 2020


On 10/19/20 2:40 PM, Aaron Conole wrote:
> 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>

Thanks, Greg and Aaron!

Applied to master and backported down to 2.13.

Best regards, Ilya Maximets.

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