Thread (2 messages) 2 messages, 2 authors, 2014-08-25

Re: [PATCH] crypto: qat - Fix return value check in adf_chr_drv_create()

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2014-08-25 12:42:05

On Thu, Aug 14, 2014 at 09:00:44AM +0800, weiyj_lk@163.com wrote:
From: Wei Yongjun <redacted>

In case of error, the function device_create() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <redacted>
Patch applied.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help