projects
/
GitHub
/
LineageOS
/
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:
2b67fc4
)
[S390] Check the return value of kthread_run().
author
Akinobu Mita
<akinobu.mita@gmail.com>
Mon, 5 Feb 2007 20:16:49 +0000
(21:16 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:16:49 +0000
(21:16 +0100)
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/s390mach.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/s390mach.c
b/drivers/s390/s390mach.c
index 1d084691e71ec8e9ab532ac79bb434e1d95b9356..442d63470428bd3a5432e2231dcbbb12ec4a4418 100644
(file)
--- a/
drivers/s390/s390mach.c
+++ b/
drivers/s390/s390mach.c
@@
-525,7
+525,11
@@
arch_initcall(machine_check_init);
static int __init
machine_check_crw_init (void)
{
- kthread_run(s390_collect_crw_info, &m_sem, "kmcheck");
+ struct task_struct *task;
+
+ task = kthread_run(s390_collect_crw_info, &m_sem, "kmcheck");
+ if (IS_ERR(task))
+ return PTR_ERR(task);
ctl_set_bit(14, 28); /* enable channel report MCH */
return 0;
}