Re: [PATCH 5/9] drivers/s390/block/dasd_ioctl.c: add missing kfree

From: Heiko Carstens
Date: Mon Aug 08 2011 - 10:33:17 EST


On Mon, Aug 08, 2011 at 01:17:59PM +0200, Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> Data is only used to temporarily hold information to be copied to the user
> level, so it should be freed before leaving the function.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)

[...]

> Signed-off-by: Julia Lawall <julia@xxxxxxx>
>
> ---
> drivers/s390/block/dasd_ioctl.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)

Applied. Thanks!
--
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/