[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <12035446381218@kroah.org>
Date: Wed, 20 Feb 2008 13:57:18 -0800
From: <gregkh@...e.de>
To: rjw@...k.pl, greg@...ah.com, gregkh@...e.de, lenb@...nel.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...ts.osdl.org, pavel@....cz, stern@...land.harvard.edu
Subject: patch pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch added to gregkh-2.6 tree
This is a note to let you know that I've just added the patch titled
Subject: PM: Remove unbalanced mutex_unlock() from dpm_resume()
to my gregkh-2.6 tree. Its filename is
pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From rjw@...k.pl Wed Feb 20 12:56:19 2008
From: "Rafael J. Wysocki" <rjw@...k.pl>
Date: Wed, 20 Feb 2008 02:01:41 +0100
Subject: PM: Remove unbalanced mutex_unlock() from dpm_resume()
To: Greg KH <greg@...ah.com>
Cc: ACPI Devel Maling List <linux-acpi@...r.kernel.org>, Alan Stern <stern@...land.harvard.edu>, Len Brown <lenb@...nel.org>, "Linux-pm mailing list" <linux-pm@...ts.osdl.org>, LKML <linux-kernel@...r.kernel.org>, Pavel Machek <pavel@....cz>
Message-ID: <200802200201.42543.rjw@...k.pl>
Content-Disposition: inline
From: Rafael J. Wysocki <rjw@...k.pl>
Remove an unnecessary unlocking of dpm_list_mtx in the error path
in drivers/base/power/main.c:dpm_suspend() .
Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
Acked-by: Alan Stern <stern@...land.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
drivers/base/power/main.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -479,7 +479,6 @@ static int dpm_suspend(pm_message_t stat
mutex_lock(&dpm_list_mtx);
if (list_empty(&dev->power.entry))
list_add(&dev->power.entry, &dpm_locked);
- mutex_unlock(&dpm_list_mtx);
break;
}
mutex_lock(&dpm_list_mtx);
Patches currently in gregkh-2.6 which might be from rjw@...k.pl are
driver/driver-core-pm-make-suspend_device-static.patch
driver/pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch
--
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