diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2017-02-09 17:51:20 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-15 13:23:32 +0800 |
commit | dd3f9f40b58168f91f27ab686c7bae1f35edd3d4 (patch) | |
tree | b3ce83c4c71f958b45cc2a6fbf6febda49771d1e /drivers/dma/mv_xor_v2.c | |
parent | f7cc02b3c3a33a10dd5bb9e5dfd22e47e09503a2 (diff) | |
download | talos-op-linux-dd3f9f40b58168f91f27ab686c7bae1f35edd3d4.tar.gz talos-op-linux-dd3f9f40b58168f91f27ab686c7bae1f35edd3d4.zip |
crypto: atmel-sha - fix missing "return" instructions
This patch fixes a previous patch: "crypto: atmel-sha - update request
queue management to make it more generic".
Indeed the patch above should have replaced the "return -EINVAL;" lines by
"return atmel_sha_complete(dd, -EINVAL);" but instead replaced them by a
simple call of "atmel_sha_complete(dd, -EINVAL);".
Hence all "return" instructions were missing.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/dma/mv_xor_v2.c')
0 files changed, 0 insertions, 0 deletions