Re: [PATCH 1/2] atomic_ops.rst: Fix wrong example code

2018-04-19 Thread Paul E. McKenney
On Thu, Apr 19, 2018 at 05:42:44PM +0900, SeongJae Park wrote: > Example code snippets for necessary of READ_ONCE() and WRITE_ONCE() has > an unnecessary line of code and wrong condition. This commit fixes > them. > > Signed-off-by: SeongJae Park Good catch!!! I queued

[PATCH 1/2] atomic_ops.rst: Fix wrong example code

2018-04-19 Thread SeongJae Park
Example code snippets for necessary of READ_ONCE() and WRITE_ONCE() has an unnecessary line of code and wrong condition. This commit fixes them. Signed-off-by: SeongJae Park --- Documentation/core-api/atomic_ops.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)