[dpdk-dev] [PATCH v3] test/compress: fix max mbuf size test case

Thomas Monjalon thomas at monjalon.net
Fri Apr 19 23:06:22 CEST 2019


19/04/2019 18:52, Fiona Trahe:
> Fixed the compilation error:
> 
> ../app/test/test_compressdev.c:1949:11: note: previous
> definition of 'i' was here
> 
> ../app/test/test_compressdev.c:1992:2: error: 'for' loop
> initial declarations are only allowed in C99 mode
> 
> ../app/test/test_compressdev.c:1992:2: note: use option
> -std=c99 or -std=gnu99 to compile your code
> 
> ../app/test/test_compressdev.c:1996:19: warning: assignment
> from incompatible pointer type [enabled by default]
> 
> Fixes: 355b02eedc65 ("test/compress: add max mbuf size test case")
> 
> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak at intel.com>
> Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> ---
> v3 changes:
>  - moved idx variable to improve code clarity and consistency
>    with other tests
> 
> v2 changes:
>  - added compile error to commit msg

Applied, thanks





More information about the dev mailing list