crypto/dpaa_sec: fix enum conversion for GCM
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 25 Jan 2018 09:53:30 +0000 (15:23 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 15:54:50 +0000 (16:54 +0100)
commitc25a37d75970ea9838fbcc97c773b0248176f1c3
tree7c9e271e2b5323236e6401430248ca783c85e8a4
parentd309d48aeee4512e53d3d8e8e6eb626bb79f5c22
crypto/dpaa_sec: fix enum conversion for GCM

dpaa_sec/dpaa_sec.h:297:13: error: implicit conversion from enumeration
type 'enum rte_crypto_aead_algorithm' to different enumeration type 'enum
rte_crypto_auth_algorithm' [-Werror,-Wenum-conversion]
.algo = RTE_CRYPTO_AEAD_AES_GCM,

Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.h