Re: [revised PATCH] crypto: Correct kzalloc error test

From: Herbert Xu
Date: Tue Apr 29 2008 - 12:28:21 EST


On Tue, Apr 29, 2008 at 04:18:08PM +0200, Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> Normally, kzalloc returns NULL or a valid pointer value, not a value to be
> tested using IS_ERR.
>
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Patch applied. Thanks Julia!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/