Re: [PATCH 2/6] drivers/crypto/caam/caamalg.c: introduce missing kfree

2011-04-08 Thread Herbert Xu
On Fri, Apr 01, 2011 at 02:42:05PM -0500, Kim Phillips wrote: > On Fri, 1 Apr 2011 16:23:43 +0200 > Julia Lawall wrote: > > > Error handling code following a kmalloc should free the allocated data. > > > Signed-off-by: Julia Lawall > > --- > > Acked-by: Kim Phillips Patch applied. Thanks! -

Re: [PATCH 2/6] drivers/crypto/caam/caamalg.c: introduce missing kfree

2011-04-01 Thread Kim Phillips
On Fri, 1 Apr 2011 16:23:43 +0200 Julia Lawall wrote: > Error handling code following a kmalloc should free the allocated data. > Signed-off-by: Julia Lawall > --- Acked-by: Kim Phillips Kim -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message

[PATCH 2/6] drivers/crypto/caam/caamalg.c: introduce missing kfree

2011-04-01 Thread Julia Lawall
Error handling code following a kmalloc should free the allocated data. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; statement S; expression E; identifier f,f1,l; position p1,p2; expression *ptr != NULL; @@ x