public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Julia Lawall <julia@diku.dk>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
	kernel-janitors@vger.kernel.org, linux390@de.ibm.com,
	Stefan Weinhuber <wein@de.ibm.com>, Arnd Bergmann <arnd@arndb.de>,
	linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/9] drivers/s390/block/dasd_ioctl.c: add missing kfree
Date: Mon, 08 Aug 2011 14:32:55 +0000	[thread overview]
Message-ID: <20110808143255.GA19688@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <1312802283-9107-5-git-send-email-julia@diku.dk>

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!

      reply	other threads:[~2011-08-08 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 11:17 [PATCH 5/9] drivers/s390/block/dasd_ioctl.c: add missing kfree Julia Lawall
2011-08-08 14:32 ` Heiko Carstens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110808143255.GA19688@osiris.boeblingen.de.ibm.com \
    --to=heiko.carstens@de.ibm.com \
    --cc=arnd@arndb.de \
    --cc=julia@diku.dk \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=linux390@de.ibm.com \
    --cc=schwidefsky@de.ibm.com \
    --cc=wein@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox