lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGh4K3L_nY5B22g5oMBuoY=a1OB7U10yH1ZJvn0dG_O5TVz6+Q@mail.gmail.com>
Date:	Mon, 6 Aug 2012 11:13:53 -0400
From:	Christopher Sacchi <chris.sacchi@...il.com>
To:	linux-wireless@...r.kernel.org
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH]: Autosleep patch.

This patch (listed below), changes an old function in autosleep.c in
kernel version 3.5. It's code is listed from the first -- line to the
2nd to last -- line.
This patch was checked with checkpatch.pl with no errors:
--
--- power/autosleep.c	2012-07-21 20:58:29.000000000 +0000
+++ power/autosleepnew.c	2012-08-06 10:52:26.000000000 +0000
@@ -30,7 +30,7 @@ static void try_to_suspend(struct work_s
 	if (!pm_get_wakeup_count(&initial_count, true))
 		goto out;

-	mutex_lock(&autosleep_lock);
+	mutex_lock_interruptable();

 	if (!pm_save_wakeup_count(initial_count)) {
 		mutex_unlock(&autosleep_lock);
Signed-off-by: Christopher P. Sacchi <chris.sacchi@...il.com>
--

-- 
Christopher
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ