diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-24 19:50:27 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-31 11:25:29 +0300 |
commit | 3cbfe80737c18ac6e635421ab676716a393d3074 (patch) | |
tree | 4a978e404de2244bf72a7cc4ef845749bde63907 /crypto/ecc.h | |
parent | 45645709704f94d2625ef15fbf7bcae51aeab975 (diff) | |
download | linux-3cbfe80737c18ac6e635421ab676716a393d3074.tar.xz |
crypto: sa2ul - Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in sa_dma_init(). The proper pointer
to be passed as argument to PTR_ERR() is dd->dma_tx.
This bug was detected with the help of Coccinelle.
Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecc.h')
0 files changed, 0 insertions, 0 deletions