projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fafaac
)
rcutorture: Fix missing-return bug in rcu_torture_barrier_init()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Mon, 3 Feb 2014 18:02:41 +0000
(10:02 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:03:22 +0000
(09:03 -0800)
This commit adds a missing error return to the code path that creates
the rcu_torture_barrier() kthread.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/rcutorture.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/rcutorture.c
b/kernel/rcu/rcutorture.c
index bcaafd6cf6338ea11d2dd81abc6e586a5039aa25..25e9b16fe7f0888e85d7729e609f18b8892ec297 100644
(file)
--- a/
kernel/rcu/rcutorture.c
+++ b/
kernel/rcu/rcutorture.c
@@
-1245,6
+1245,7
@@
static int rcu_torture_barrier_init(void)
ret = PTR_ERR(barrier_task);
VERBOSE_TOROUT_ERRSTRING("Failed to create rcu_torture_barrier");
barrier_task = NULL;
+ return ret;
}
torture_shuffle_task_register(barrier_task);
return 0;