LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Johan Hovold <johan@kernel.org>
Subject: [PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.12
Date: Mon, 26 Jan 2015 19:04:54 +0100	[thread overview]
Message-ID: <1422295496-6194-1-git-send-email-johan@kernel.org> (raw)

Hi Greg,

Here are backports of two fixes for memory leaks in the gpio sysfs
interface that are needed in the stable trees.

Tested on 3.12, but will not compile on 3.10 or earlier which lacks
device_create_with_groups. I'll send a second version for these kernels.

Johan


Johan Hovold (2):
  gpio: sysfs: fix gpio-chip device-attribute leak
  gpio: sysfs: fix gpio device-attribute leak

 drivers/gpio/gpiolib.c | 46 +++++++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

-- 
2.0.5


             reply	other threads:[~2015-01-26 18:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-26 18:04 Johan Hovold [this message]
2015-01-26 18:04 ` [PATCH 1/2] gpio: sysfs: fix gpio-chip device-attribute leak Johan Hovold
2015-01-26 18:04 ` [PATCH 2/2] gpio: sysfs: fix gpio " Johan Hovold
2015-01-26 18:05 ` [PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.10 Johan Hovold
2015-01-26 18:05   ` [PATCH 1/2] gpio: sysfs: fix gpio-chip device-attribute leak Johan Hovold
2015-01-26 18:06   ` [PATCH 2/2] gpio: sysfs: fix gpio " Johan Hovold
2015-01-27 18:01 ` [PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.12 Greg Kroah-Hartman

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=1422295496-6194-1-git-send-email-johan@kernel.org \
    --to=johan@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.12' \
    /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).