[dpdk-stable] [PATCH v2 2/3] crypto: fix pedantic compilation errors
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Mon Jan 8 13:35:06 CET 2018
> -----Original Message-----
> From: Nelio Laranjeiro [mailto:nelio.laranjeiro at 6wind.com]
> Sent: Thursday, November 23, 2017 10:03 AM
> To: Akhil Goyal <akhil.goyal at nxp.com>; Doherty, Declan
> <declan.doherty at intel.com>
> Cc: dev at dpdk.org; Gaetan Rivet <gaetan.rivet at 6wind.com>; De Lara
> Guarch, Pablo <pablo.de.lara.guarch at intel.com>; stable at dpdk.org
> 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: pablo.de.lara.guarch at intel.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
Applied to dpdk-next-crypto.
Thanks,
Pablo
More information about the stable
mailing list