crypto/dpaa2_sec: improve error handling
authorSunil Kumar Kori <sunil.kori@nxp.com>
Thu, 5 Apr 2018 08:35:49 +0000 (14:05 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:09 +0000 (18:20 +0100)
commitc3b894155f7698c1e5a0a796527258f38e07179a
tree3cca53514ec78c9545d230942df44199e136b43b
parent22788c2c6a23d9c6bd6b9766065f0f3c2d203fb1
crypto/dpaa2_sec: improve error handling

Fixed as reported by NXP's internal coverity.
Also part of dpdk coverity.

Coverity issue: 268331
Coverity issue: 268333

Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <sunil.kori@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c