Skip to content
Commit 9a97ffd4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Herbert Xu
Browse files

crypto: chcr - checking for IS_ERR() instead of NULL

The create_hash_wr() function never returns error pointers.  It returns
NULL on error.

Fixes: 358961d1

 ("crypto: chcr - Added new structure chcr_wr")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b80609a1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment