crypto: ccree - improve error handling
authorHadar Gat <hadar.gat@arm.com>
Tue, 15 Jan 2019 13:43:11 +0000 (15:43 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Jan 2019 10:41:50 +0000 (18:41 +0800)
commitccba2f1112d4871982ae3f09d1984c0443c89a97
tree6b427d40166e4a03b693b8d18224824ce21a861d
parenta0d608ee5ebfa9a9da0e69784e7aa0f86644a02e
crypto: ccree - improve error handling

pass the returned error code to the higher level functions

Signed-off-by: Hadar Gat <hadar.gat@arm.com>
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_buffer_mgr.c