Re: [PATCH] crypto: Correct kzalloc error test

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Herbert Xu
Date: Tuesday, April 29, 2008 - 7:07 am

Julia Lawall <julia@diku.dk> wrote:

Ouch :)


However, this function is expected to return an ERR_PTR so you'll
need set it to ENOMEM first.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] crypto: Correct kzalloc error test, Julia Lawall, (Tue Apr 29, 6:38 am)
Re: [PATCH] crypto: Correct kzalloc error test, Herbert Xu, (Tue Apr 29, 7:07 am)
Re: [revised PATCH] crypto: Correct kzalloc error test, Julia Lawall, (Tue Apr 29, 7:18 am)