diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-08-15 22:33:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-22 09:54:55 +0300 |
commit | b7d65fe18129e2f557c31126fe6623e8c2731528 (patch) | |
tree | e10b71b65bec48cc0c29e767ee240a3c8b95a97d /drivers/crypto/cavium/nitrox/nitrox_main.c | |
parent | 5a7801f6634b1e2888bcb1a85bedc50e46dcd757 (diff) | |
download | linux-b7d65fe18129e2f557c31126fe6623e8c2731528.tar.xz |
crypto: inside-secure - fix an error handling path in safexcel_probe()
'ret' is known to be 0 at this point.
If 'safexcel_request_ring_irq()' fails, it returns an error code.
Return this value instead of 0 which means success.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_main.c')
0 files changed, 0 insertions, 0 deletions