LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Johan Hovold <johan@kernel.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	stable <stable@vger.kernel.org>
Subject: Re: [PATCH 1/2] gpio: sysfs: fix memory leak in gpiod_export_link
Date: Fri, 30 Jan 2015 10:29:08 +0100	[thread overview]
Message-ID: <CACRpkdZwW+NRL0nVOZw96AFnxgU8BWipuJ7ugO41ju781MWA5Q@mail.gmail.com> (raw)
In-Reply-To: <1422270166-17525-2-git-send-email-johan@kernel.org>

On Mon, Jan 26, 2015 at 12:02 PM, Johan Hovold <johan@kernel.org> wrote:

> Fix memory leak in the gpio sysfs interface due to failure to drop
> reference to device returned by class_find_device when creating a link.
>
> Fixes: a4177ee7f1a8 ("gpiolib: allow exported GPIO nodes to be named
> using sysfs links")
> Cc: stable <stable@vger.kernel.org>     # v2.6.32
> Signed-off-by: Johan Hovold <johan@kernel.org>

Patch applied.

Let's see if I get it into v3.19 properly...

Yours,
Linus Walleij

  reply	other threads:[~2015-01-30  9:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 11:02 [PATCH 0/2] gpio: sysfs: fix memory leaks Johan Hovold
2015-01-26 11:02 ` [PATCH 1/2] gpio: sysfs: fix memory leak in gpiod_export_link Johan Hovold
2015-01-30  9:29   ` Linus Walleij [this message]
2015-01-26 11:02 ` [PATCH 2/2] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low Johan Hovold
2015-01-30  9:30   ` Linus Walleij

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=CACRpkdZwW+NRL0nVOZw96AFnxgU8BWipuJ7ugO41ju781MWA5Q@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=gnurou@gmail.com \
    --cc=johan@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --subject='Re: [PATCH 1/2] gpio: sysfs: fix memory leak in gpiod_export_link' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).