[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <26215.1456135273@warthog.procyon.org.uk>
Date: Mon, 22 Feb 2016 10:01:13 +0000
From: David Howells <dhowells@...hat.com>
To: SeongJae Park <sj38.park@...il.com>
Cc: dhowells@...hat.com, Paul McKenney <paulmck@...ux.vnet.ibm.com>,
Jonathan Corbet <corbet@....net>,
linux-doc <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Documentation/memory-barriers: fix wrong comment in example
SeongJae Park <sj38.park@...il.com> wrote:
> a = 0;
> /* Code that does not store to variable a. */
> + does_not_change_a();
> a = 0;
Since it's not actually code that's meant to be executed, you could make it:
a = 0;
... code that does not store to variable a ...
a = 0;
David
Powered by blists - more mailing lists