Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

w1_therm_read_bin: don't call flush_signals()

This can disrupt userspace signal management.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Evgeniy Polyakov and committed by
Linus Torvalds
33e44b15 a66e356c

+1 -5
+1 -5
drivers/w1/slaves/w1_therm.c
··· 191 191 192 192 w1_write_8(dev, W1_CONVERT_TEMP); 193 193 194 - while (tm) { 195 - tm = msleep_interruptible(tm); 196 - if (signal_pending(current)) 197 - flush_signals(current); 198 - } 194 + msleep(tm); 199 195 200 196 if (!w1_reset_select_slave(sl)) { 201 197