projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4afc7e2
)
rcu: Return false instead of 0 in rcu_nocb_adopt_orphan_cbs()
author
Pranith Kumar
<
[email protected]
>
Tue, 8 Jul 2014 22:26:17 +0000
(18:26 -0400)
committer
Paul E. McKenney
<
[email protected]
>
Tue, 16 Sep 2014 17:08:01 +0000
(10:08 -0700)
Return false instead of 0 in rcu_nocb_adopt_orphan_cbs() as this has
bool as return type.
Signed-off-by: Pranith Kumar <
[email protected]
>
Signed-off-by: Paul E. McKenney <
[email protected]
>
Tested-by: Paul Gortmaker <
[email protected]
>
kernel/rcu/tree_plugin.h
patch
|
blob
|
history
diff --git
a/kernel/rcu/tree_plugin.h
b/kernel/rcu/tree_plugin.h
index 427110475e33ace802ea0259d0adc5f3f8f4064d..4c1af96836f66206d0d5f2e05f2e3c5927fa5755 100644
(file)
--- a/
kernel/rcu/tree_plugin.h
+++ b/
kernel/rcu/tree_plugin.h
@@
-2581,7
+2581,7
@@
static bool __maybe_unused rcu_nocb_adopt_orphan_cbs(struct rcu_state *rsp,
struct rcu_data *rdp,
unsigned long flags)
{
- return
0
;
+ return
false
;
}
static void __init rcu_boot_init_nocb_percpu_data(struct rcu_data *rdp)