| commit | 5b5ad7a23fcdd6b96122f267d4afd6acdce3ebad | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jan 23 12:02:09 2017 -0800 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Jan 23 18:42:38 2017 -0800 |
| tree | 86b4716c0e897273da5eabf1cba22add9688f501 | |
| parent | 98348dc85de3734b895047c3311578b47cd4d3c2 [diff] |
rcu: Semicolon inside RCU_TRACE() for Tiny RCU 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>