]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
CRYPTO: cryptd: Correct kzalloc error test
authorJulia Lawall <julia@diku.dk>
Tue, 6 May 2008 06:01:25 +0000 (14:01 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 May 2008 04:40:51 +0000 (21:40 -0700)
commit84c82441c5bd034bf6a1e863eb8b51006c4cfe8c
treea6dbb5f9cecc013aaf8c64ca827b520b5f91c22f
parentf69af5c3a887b65da440726968d7c68218a347d6
CRYPTO: cryptd: Correct kzalloc error test

[CRYPTO] cryptd: Correct kzalloc error test

[ Upstream commit: b1145ce395f7785487c128fe8faf8624e6586d84 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
crypto/cryptd.c