[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1252925033-29696-1-git-send-email-corentincj@iksaif.net>
Date: Mon, 14 Sep 2009 12:43:50 +0200
From: Corentin Chary <corentincj@...aif.net>
To: linux-acpi@...r.kernel.org
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Julia Lawall <julia@...u.dk>,
Alan Jenkins <alan-jenkins@...fmail.co.uk>,
Johannes Berg <johannes@...solutions.net>,
Corentin Chary <corentincj@...aif.net>
Subject: [PATCH 0/3] rfkill_unregister() should always be followed by rfkill_destroy()
The semantic match that finds the first problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@r@
expression E;
position p;
@@
rfkill_unregister(E);@p
... when != rfkill_destroy(E)
@script:python@
p << r.p;
@@
print "rfkill_unregister without rfkill_destroy found: %s %s " % (p[0].file, p[0].line)
// </spml>
Corentin Chary (3):
hp-wmi: fix rfkill memory leak on unload
thinkpad_acpi: fix rfkill memory leak on unload
dell-laptop: fix rfkill memory leak on unload
drivers/platform/x86/dell-laptop.c | 36 ++++++++++++++++++++++-----------
drivers/platform/x86/hp-wmi.c | 2 +-
drivers/platform/x86/thinkpad_acpi.c | 1 +
3 files changed, 26 insertions(+), 13 deletions(-)
--
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