From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Hovold Subject: [PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.10 Date: Mon, 26 Jan 2015 19:05:58 +0100 Message-ID: <1422295560-6284-1-git-send-email-johan@kernel.org> References: <1422295496-6194-1-git-send-email-johan@kernel.org> Return-path: Received: from mail-lb0-f172.google.com ([209.85.217.172]:45479 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757119AbbAZSGQ (ORCPT ); Mon, 26 Jan 2015 13:06:16 -0500 In-Reply-To: <1422295496-6194-1-git-send-email-johan@kernel.org> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Greg Kroah-Hartman Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold And here are the backports of the two fixes for memory leaks in the gpio sysfs interface for 3.10 and earlier. Tested on 3.12 and compile-tested on 3.10. Johan Johan Hovold (2): gpio: sysfs: fix gpio-chip device-attribute leak gpio: sysfs: fix gpio device-attribute leak drivers/gpio/gpiolib.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) -- 2.0.5