From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f43.google.com ([209.85.215.43]:34446 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933913AbbEOUYG (ORCPT ); Fri, 15 May 2015 16:24:06 -0400 Received: by laat2 with SMTP id t2so137336689laa.1 for ; Fri, 15 May 2015 13:24:05 -0700 (PDT) Date: Fri, 15 May 2015 22:24:04 +0200 From: Johan Hovold To: Jiri Slaby Cc: Johan Hovold , stable@vger.kernel.org, Linus Walleij Subject: Re: [patch added to the 3.12 stable tree] gpio: sysfs: fix memory leaks and device hotplug Message-ID: <20150515202404.GG13976@localhost> References: <1431700109-10261-1-git-send-email-jslaby@suse.cz> <1431700109-10261-4-git-send-email-jslaby@suse.cz> <20150515145134.GD13976@localhost> <55564E41.4010805@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55564E41.4010805@suse.cz> Sender: stable-owner@vger.kernel.org List-ID: On Fri, May 15, 2015 at 09:51:29PM +0200, Jiri Slaby wrote: > On 05/15/2015, 04:51 PM, Johan Hovold wrote: > > On Fri, May 15, 2015 at 04:28:24PM +0200, Jiri Slaby wrote: > >> From: Johan Hovold > >> > >> This patch has been added to the 3.12 stable tree. If you have any > >> objections, please let us know. > > > > This one depends on 01cca93a9491 ("gpio: unregister gpiochip device > > before removing it") as indicated by the stable tag: > > > > Cc: stable # v2.6.27: 01cca93a9491 > > I am not sure what you mean. The commit contains: > Fixes: d8f388d8dc8d ("gpio: sysfs interface") > Cc: stable # v2.6.27: 01cca93a9491 > > d8f388d8dc8d is in 2.6.27 > 01cca93a9491 is in 3.19 > > Since it is fixing something in 2.6.27, I should take it to 3.12, or am > I missing something? Yes, but the stable tag above means you need to backport 01cca93a9491 ("gpio: unregister gpiochip device before removing it") as well. Backports of both patches for 3.10 and 3.14 can be found in Greg's stable queues (posted to stable list earlier today). Johan