> -----Original Message-----
> From: Nelio Laranjeiro [mailto:[email protected]]
> Sent: Thursday, November 23, 2017 10:03 AM
> To: Akhil Goyal <[email protected]>; Doherty, Declan
> <[email protected]>
> Cc: [email protected]; Gaetan Rivet <[email protected]>; De Lara
> Guarch, Pablo <[email protected]>; [email protected]
> Subject: [PATCH v2 2/3] crypto: fix pedantic compilation errors
> 
>  /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_crypto.h:126:28:
> error: ISO C forbids zero-size array ‘sym’ [-Werror=pedantic]
>    struct rte_crypto_sym_op sym[0];
>                             ^~~
> Zero-size array is an extension to the language it cannot be replaced by a
> empty size array i.e. [] because structure is inside an union.
> 
> Fixes: d2a4223c4c6d ("cryptodev: do not store pointer to op specific
> params")
> Cc: [email protected]
> Cc: [email protected]
> 
> Signed-off-by: Nelio Laranjeiro <[email protected]>

Applied to dpdk-next-crypto.
Thanks,

Pablo

Reply via email to