Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751955AbZINK76 (ORCPT ); Mon, 14 Sep 2009 06:59:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751847AbZINK74 (ORCPT ); Mon, 14 Sep 2009 06:59:56 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:51628 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbZINK74 (ORCPT ); Mon, 14 Sep 2009 06:59:56 -0400 Date: Mon, 14 Sep 2009 11:59:50 +0100 From: Matthew Garrett To: Corentin Chary Cc: linux-acpi@vger.kernel.org, linux-kernel , Julia Lawall , Alan Jenkins , Johannes Berg Subject: Re: [PATCH 1/3] hp-wmi: fix rfkill memory leak on unload Message-ID: <20090914105950.GB6170@srcf.ucam.org> References: <1252925033-29696-1-git-send-email-corentincj@iksaif.net> <1252925033-29696-2-git-send-email-corentincj@iksaif.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1252925033-29696-2-git-send-email-corentincj@iksaif.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 623 Lines: 16 On Mon, Sep 14, 2009 at 12:43:51PM +0200, Corentin Chary wrote: > rfkill_unregister() should always be followed by rfkill_destroy() > In this case, rfkill_destroy was called two times on wifi_rfkill and > never on bluetooth_rfkill. > > Signed-off-by: Corentin Chary Acked-by: Matthew Garrett -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/