diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-01 23:49:37 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-12-07 20:01:11 +0800 |
commit | 9a97ffd49ca9421c17ecde672a58b618d61f4f58 (patch) | |
tree | 81a9130f48b93ca884cf3ea21aad044192bbdc8a /crypto | |
parent | b80609a161f05caec677216f74188701a3b23149 (diff) |
crypto: chcr - checking for IS_ERR() instead of NULL
The create_hash_wr() function never returns error pointers. It returns
NULL on error.
Fixes: 358961d1cd1e ("crypto: chcr - Added new structure chcr_wr")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions