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

Heiko Carstens
2011-08-08T14:32:55Z

On Mon, Aug 08, 2011 at 01:17:59PM +0200, Julia Lawall wrote:
> From: Julia Lawall <julia@diku.dk>
>
> 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@diku.dk>
>
> ---
> drivers/s390/block/dasd_ioctl.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)

Applied. Thanks!