The patch titled
PM: remove unbalanced mutex_unlock() from dpm_resume()
has been added to the -mm tree. Its filename is
pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: PM: remove unbalanced mutex_unlock() from dpm_resume()
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 <[EMAIL PROTECTED]>
Acked-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/base/power/main.c | 1 -
1 file changed, 1 deletion(-)
diff -puN
drivers/base/power/main.c~pm-remove-unbalanced-mutex_unlock-from-dpm_resume
drivers/base/power/main.c
---
a/drivers/base/power/main.c~pm-remove-unbalanced-mutex_unlock-from-dpm_resume
+++ a/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 -mm which might be from [EMAIL PROTECTED] are
revert-send-a-single-notification-on-device-state-changes.patch
git-acpi.patch
git-acpi-powerpc-kconfig-fix.patch
pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch
shrink_slab-handle-bad-shrinkers.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html