Re: [PATCH 1/10] arch/powerpc/sysdev/qe_lib: introduce missing kfree

2009-08-06 Thread Kumar Gala
On Aug 1, 2009, at 3:52 AM, Julia Lawall wrote: From: Julia Lawall Error handling code following a kzalloc 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; exp

Re: [PATCH 1/10] arch/powerpc/sysdev/qe_lib: introduce missing kfree

2009-08-01 Thread Timur Tabi
On Sat, Aug 1, 2009 at 3:52 AM, Julia Lawall wrote: > From: Julia Lawall > > Error handling code following a kzalloc should free the allocated data. > ... > > Signed-off-by: Julia Lawall > --- >  arch/powerpc/sysdev/qe_lib/qe_ic.c  |    5 - >  1 files changed, 4 insertions(+), 1 deletions(-

[PATCH 1/10] arch/powerpc/sysdev/qe_lib: introduce missing kfree

2009-08-01 Thread Julia Lawall
From: Julia Lawall Error handling code following a kzalloc 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; expressio