- w1_therm_read_bin-suspicious-usage-of-flush_signals.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     w1_therm_read_bin: don't call flush_signals()
has been removed from the -mm tree.  Its filename was
     w1_therm_read_bin-suspicious-usage-of-flush_signals.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: w1_therm_read_bin: don't call flush_signals()
From: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>

This can disrupt userspace signal management.

Signed-off-by: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
Cc: Roland McGrath <roland@xxxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/w1/slaves/w1_therm.c |    6 +-----
 1 files changed, 1 insertion(+), 5 deletions(-)

diff -puN drivers/w1/slaves/w1_therm.c~w1_therm_read_bin-suspicious-usage-of-flush_signals drivers/w1/slaves/w1_therm.c
--- a/drivers/w1/slaves/w1_therm.c~w1_therm_read_bin-suspicious-usage-of-flush_signals
+++ a/drivers/w1/slaves/w1_therm.c
@@ -191,11 +191,7 @@ static ssize_t w1_therm_read_bin(struct 
 
 			w1_write_8(dev, W1_CONVERT_TEMP);
 
-			while (tm) {
-				tm = msleep_interruptible(tm);
-				if (signal_pending(current))
-					flush_signals(current);
-			}
+			msleep(tm);
 
 			if (!w1_reset_select_slave(sl)) {
 
_

Patches currently in -mm which might be from johnpol@xxxxxxxxxxx are

origin.patch
git-battery.patch
use-menuconfig-objects-connector.patch
use-menuconfig-objects-w1.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux