Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751211AbbD3MJ2 (ORCPT ); Thu, 30 Apr 2015 08:09:28 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:48601 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbbD3MJ0 (ORCPT ); Thu, 30 Apr 2015 08:09:26 -0400 Message-ID: <55421B6E.4050103@de.ibm.com> Date: Thu, 30 Apr 2015 14:09:18 +0200 From: Christian Borntraeger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Preeti U Murthy CC: peterz@infradead.org, paulmck@linux.vnet.ibm.com, dave@stgolabs.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: Replace reference to ASSIGN_ONCE with WRITE_ONCE in comment References: <20150430115721.22278.94082.stgit@preeti.in.ibm.com> In-Reply-To: <20150430115721.22278.94082.stgit@preeti.in.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15043012-0029-0000-0000-0000046BF70F Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1279 Lines: 37 Am 30.04.2015 um 13:57 schrieb Preeti U Murthy: > Looks like commit : > > 43239cbe79fc ("kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)") > > left behind a reference to ASSIGN_ONCE. Update this to WRITE_ONCE. > > Signed-off-by: Preeti U Murthy Acked-by: Christian Borntraeger > --- > > include/linux/compiler.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/compiler.h b/include/linux/compiler.h > index 0e41ca0..e65e0a7 100644 > --- a/include/linux/compiler.h > +++ b/include/linux/compiler.h > @@ -446,7 +446,7 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s > * with an explicit memory barrier or atomic instruction that provides the > * required ordering. > * > - * If possible use READ_ONCE/ASSIGN_ONCE instead. > + * If possible use READ_ONCE/WRITE_ONCE instead. > */ > #define __ACCESS_ONCE(x) ({ \ > __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \ > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/