Commit 57aecae9 authored by Paul E. McKenney's avatar Paul E. McKenney

documentation: Fix variable-name typo in memory-barriers.txt

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 297f7399
......@@ -746,7 +746,7 @@ You must also be careful not to rely too much on boolean short-circuit
evaluation. Consider this example:
q = READ_ONCE_CTRL(a);
if (a || 1 > 0)
if (q || 1 > 0)
ACCESS_ONCE(b) = 1;
Because the first condition cannot fault and the second condition is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment