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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Showing
想要评论请 注册 或 登录