[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZoP_m+Jb+a7jOVDdUNzVO7x_MLVpycxxTqqoUSfimkRg@mail.gmail.com>
Date: Fri, 30 Jan 2015 10:30:03 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Johan Hovold <johan@...nel.org>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH 2/2] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low
On Mon, Jan 26, 2015 at 12:02 PM, Johan Hovold <johan@...nel.org> wrote:
> Fix memory leak in the gpio sysfs interface due to failure to drop
> reference to device returned by class_find_device when setting the
> gpio-line polarity.
>
> Fixes: 0769746183ca ("gpiolib: add support for changing value polarity
> in sysfs")
> Cc: stable <stable@...r.kernel.org> # v2.6.33
> Signed-off-by: Johan Hovold <johan@...nel.org>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists