crypto/dpaa_sec: improve the error checking
authorSunil Kumar Kori <sunil.kori@nxp.com>
Thu, 5 Apr 2018 08:35:48 +0000 (14:05 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:09 +0000 (18:20 +0100)
commit22788c2c6a23d9c6bd6b9766065f0f3c2d203fb1
tree3f8fc51d910be56ccf11403dd41faaa9b3c508e6
parentfe84aaee29d85b49f0a58e919ee7f8441124fd66
crypto/dpaa_sec: improve the error checking

Reported by NXP's internal coverity

Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <sunil.kori@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.c