提交 57aecae9 编写于 作者: P Paul E. McKenney

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

Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册