[CRYPTO] cryptd: Correct kzalloc error test
authorJulia Lawall <julia@diku.dk>
Tue, 29 Apr 2008 16:27:14 +0000 (00:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 May 2008 10:22:28 +0000 (18:22 +0800)
commitb1145ce395f7785487c128fe8faf8624e6586d84
tree3700e861a1cd2f2152408a84e72ad1688875bfa5
parent46f8153cc59384eb09a426d044668d4801f818ce
[CRYPTO] cryptd: Correct kzalloc error test

Normally, kzalloc returns NULL or a valid pointer value, not a value to be
tested using IS_ERR.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptd.c