From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934505AbcCJARV (ORCPT ); Wed, 9 Mar 2016 19:17:21 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37364 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933537AbcCJARM (ORCPT ); Wed, 9 Mar 2016 19:17:12 -0500 From: Rasmus Villemoes To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Christian Borntraeger , Rasmus Villemoes Subject: [PATCH resend] linux/compiler.h: fix stale comment on {READ,WRITE}_ONCE Date: Thu, 10 Mar 2016 01:16:57 +0100 Message-Id: <1457569017-13638-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444635981-25552-1-git-send-email-linux@rasmusvillemoes.dk> References: <1444635981-25552-1-git-send-email-linux@rasmusvillemoes.dk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 7bd3e239d6c6 ("locking: Remove atomicy checks from {READ,WRITE}_ONCE") removed said warning. Acked-by: Christian Borntraeger Signed-off-by: Rasmus Villemoes --- Andrew, can you pick this up please? include/linux/compiler.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 48f5aab117ae..062b6ad95276 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -263,8 +263,7 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s * In contrast to ACCESS_ONCE these two macros will also work on aggregate * data types like structs or unions. If the size of the accessed data * type exceeds the word size of the machine (e.g., 32 bits or 64 bits) - * READ_ONCE() and WRITE_ONCE() will fall back to memcpy and print a - * compile-time warning. + * READ_ONCE() and WRITE_ONCE() will fall back to memcpy. * * Their two major use cases are: (1) Mediating communication between * process-level code and irq/NMI handlers, all running on the same CPU, -- 2.1.4