| commit | e598a04b74d235071371628b3664a1628ab50aba | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jan 23 12:04:46 2017 -0800 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jan 23 12:04:46 2017 -0800 |
| tree | 1a1c1e596061ec447ff0d4fef3e9ddde0f703159 | |
| parent | cae1eda457f4978e46adae7957a7ea1f5f56a8e2 [diff] |
rcu: Semicolon inside RCU_TRACE() for tree.c The current use of "RCU_TRACE(statement);" can cause odd bugs, especially where "statement" is a local-variable declaration, as it can leave a misplaced ";" in the source code. This commit therefore converts these to "RCU_TRACE(statement;)", which avoids the misplaced ";". Reported-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>