From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753595AbcBVKBR (ORCPT ); Mon, 22 Feb 2016 05:01:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751674AbcBVKBQ (ORCPT ); Mon, 22 Feb 2016 05:01:16 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1455948068-14221-1-git-send-email-sj38.park@gmail.com> <20160220195722.GG3522@linux.vnet.ibm.com> <20160221052542.GJ3522@linux.vnet.ibm.com> To: SeongJae Park Cc: dhowells@redhat.com, Paul McKenney , Jonathan Corbet , linux-doc , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Documentation/memory-barriers: fix wrong comment in example MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26214.1456135273.1@warthog.procyon.org.uk> Date: Mon, 22 Feb 2016 10:01:13 +0000 Message-ID: <26215.1456135273@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SeongJae Park 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