Re: [patch] crypto/ablkcipher: missing return statement

2010-07-15 Thread Herbert Xu
On Fri, Jul 16, 2010 at 10:23:11AM +0800, Herbert Xu wrote: > On Thu, Jul 15, 2010 at 07:21:41PM -0700, David Miller wrote: > > From: Dan Carpenter > > Date: Thu, 15 Jul 2010 09:57:36 +0200 > > > > > The intent was to return here. In the original an allocation failure > > > would lead to a NULL

Re: [patch] crypto/ablkcipher: missing return statement

2010-07-15 Thread Herbert Xu
On Thu, Jul 15, 2010 at 07:21:41PM -0700, David Miller wrote: > From: Dan Carpenter > Date: Thu, 15 Jul 2010 09:57:36 +0200 > > > The intent was to return here. In the original an allocation failure > > would lead to a NULL dereference. > > > > Signed-off-by: Dan Carpenter > > Acked-by: David

Re: [patch] crypto/ablkcipher: missing return statement

2010-07-15 Thread David Miller
From: Dan Carpenter Date: Thu, 15 Jul 2010 09:57:36 +0200 > The intent was to return here. In the original an allocation failure > would lead to a NULL dereference. > > Signed-off-by: Dan Carpenter Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-c

[patch] crypto/ablkcipher: missing return statement

2010-07-15 Thread Dan Carpenter
The intent was to return here. In the original an allocation failure would lead to a NULL dereference. Signed-off-by: Dan Carpenter diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index 98a6610..a854df2 100644 --- a/crypto/ablkcipher.c +++ b/crypto/ablkcipher.c @@ -165,7 +165,7 @@ static