crypto/dpaa2_sec: fix HFN override
authorAkhil Goyal <akhil.goyal@nxp.com>
Fri, 14 Feb 2020 10:05:18 +0000 (15:35 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:17 +0000 (18:16 +0200)
commit91d581dc1b6f5164c63cc7a3f857a1d72b231d47
treee3f7541fd11b92ee9e7dac4a5af2ffe615a25787
parent453b9593a3cfe62ce1f64c65382090ec8adb3ec0
crypto/dpaa2_sec: fix HFN override

HFN is set as a uint32_t but the value retrieved is
uint8_t. Fixed the type casting to get the correct value.

Fixes: bef594ec5cc8 ("crypto/dpaa2_sec: support PDCP offload")
Fixes: af61f0750948 ("crypto/dpaa2_sec: support scatter gather for proto offloads")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c