numam-dpdk/lib/librte_cryptodev
Nélio Laranjeiro 81c8dff2fd crypto: fix pedantic compilation
/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 a union.

Fixes: d2a4223c4c ("cryptodev: do not store pointer to op specific params")
Cc: stable@dpdk.org

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2018-01-20 16:08:34 +01:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_crypto_sym.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_crypto.h crypto: fix pedantic compilation 2018-01-20 16:08:34 +01:00
rte_cryptodev_pmd.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_cryptodev_pmd.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_cryptodev_version.map cryptodev: remove vdev create function 2017-11-07 16:28:47 +01:00
rte_cryptodev.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_cryptodev.h cryptodev: extend sym session doxygen info 2018-01-20 16:08:34 +01:00