projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfdf141
)
w1: w1_process() is not freezable kthread
author
Jiri Kosina
<jkosina@suse.cz>
Wed, 10 Feb 2016 10:41:08 +0000
(11:41 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:23:28 +0000
(19:23 -0800)
w1_process() calls try_to_freeze(), but the thread doesn't mark itself
freezable through set_freezable(), so the try_to_freeze() call is useless.
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/w1/w1.c
b/drivers/w1/w1.c
index c9a7ff67d395244a1b4cc4bd628979838a6b8d05..89a78475173810944411f1a61fa8236d56cb75e1 100644
(file)
--- a/
drivers/w1/w1.c
+++ b/
drivers/w1/w1.c
@@
-1147,7
+1147,6
@@
int w1_process(void *data)
jremain = 1;
}
- try_to_freeze();
__set_current_state(TASK_INTERRUPTIBLE);
/* hold list_mutex until after interruptible to prevent loosing