Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1327964imm; Tue, 5 Jun 2018 12:44:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKvvW4EdP5C0u+U9bRGnZsHJ70MAfluGCYDY+ATC3hiH/42nqaW6jvu2GGHdEmvsK+CwuYz X-Received: by 2002:a17:902:8d8c:: with SMTP id v12-v6mr5638plo.366.1528227880064; Tue, 05 Jun 2018 12:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528227880; cv=none; d=google.com; s=arc-20160816; b=1Aq3+FdnvJ5Gfeh0XY/biWercwg6TmrzRZ9inOaqC2WySnvc03srdY1WOIh3s2FSAB 7yt5z0zy4vd1VTgmfp8/bIHb3YGBYhuhHz6o4KxessERojWLWfhdd055bocmt9aI/NL+ nvHWEkRJdIG9ysc/EjstIL1M6KaIMRXZdGMFD2D83q0OuPKe/1porF2M5ifqh0sQHWI6 0TDyocw9DFMseCxdjNzjQ5MxqMofWGKKol41Ec6ESKCHb4to4KLPM9hVRgqrVeja/Uri I4J6+eDyvGDAvQiTAo2eP2ScCAOQmWL5DcsitovF6/gKktpPy1PZnKEAns1AX4NFysuo zqyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=rgAGfVV9qcPF63dLIEvfM+4rmjxRTG2vt2iR4xh7rAw=; b=vwc4C3vfGk9Y+Wp2l/V7oTpCzMpFwTUPCNAN4nQF/BMOwu/reigpD3czP14x/293WZ 6kkUvcD9LAQnAo3Eslgi30/Al7y32yRvln0EzHLUsMdGO/7gJXo3zx8R7LqswBDRZ9Fh VWvgap8gZqBo6MuiBAxo/aib8Rgxji0vIrhNTb1oWHPwsGHsG6LBCWU5OTGYkL4Hv6Ka mabgAlj+zVCyTiTInnXToiKi50V5llQ1VHEZhUgS2Niv/sgdnxNgKzyRxBxoe7Ukl3hZ IGPR38RcmjAu1/kREzDAazqsssB/5DMQFRVpuEQZppVadkmHzoZEluucetCu2Z75/0W5 CYFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6-v6si18878436pgv.595.2018.06.05.12.44.26; Tue, 05 Jun 2018 12:44:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752155AbeFETn4 (ORCPT + 99 others); Tue, 5 Jun 2018 15:43:56 -0400 Received: from mout.gmx.net ([212.227.15.19]:55137 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849AbeFETny (ORCPT ); Tue, 5 Jun 2018 15:43:54 -0400 Received: from latitude ([146.60.76.149]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LlDb4-1fxgsX12Ig-00b0cY; Tue, 05 Jun 2018 21:43:47 +0200 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-doc@vger.kernel.org Cc: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Jonathan Corbet , "Paul E. McKenney" , linux-kernel@vger.kernel.org Subject: [PATCH] docs: atomic_ops: atomic_set is a write (not read) operation Date: Tue, 5 Jun 2018 21:43:23 +0200 Message-Id: <20180605194326.23596-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:eGi03/YAeBxduuaAlCaATKc0Ti5lOLopeOrEWlhlofNlrxAERnX p4x2iI6cLGpwRF9HATnaKYNf0npo3zupg+Nwd3CW+OX5GeaffITEZpOXhwZ5RycX3UMKHaY +uZWvrj7/Zcs9mrdqjQxrbLzBd8z/Rt0r4OWyfxFJBWs1Y7YpN1yiSelZDFss6/ILl0Vrtj xUs5w8W74PeFU973ynOfw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Pke5WB5g3aA=:CxEVLudFQD8snKyE+LPlFT 9VSrJG3+61FXcmS0x2V3Vemz35drR63AUCQz6knPAAzuzbZQnHHkuh9/dHjSe4ndpTmg79Z2Q fPcwS6AFtVGNRbdob7ibkR6pWJi4udPifim97WWR1MwB8dpWVXYXNRrPTrNXolChBAIgj41P0 ovR6W4nfo+eMCoB3xwYkP58xidB9id48wMZBBDHi7yNej7FnI/c8Tipzee0m8tQGufBv19HFW zWI2I6mlI7XWWIp5sDXF43FR+T6j1MvGq/bodtDJbBcjzEa06KkjvZdPB7DyzXm/as43H+dFy lUUYUR6DyJJ13bQsdEkPfO/2jGShR1EInLZrQA2ORGtqs18MdybOcWEnfcDPgAWKEb6GpES4P gEMOSHs50ncV7cY/g/74ns8G3TxpeS95PgA6j+tyQtMW/jy2uYkCC3oJMaPzXcAbJbsDJiXK0 npd46rqKneGdf2PeXW27SUg/zcq/FcUNSgmdMion524uUAJTFHdmc30zAZ3TxD+OVndR4AyjK 5NehfjXK2Omf7HnqYu8Oxqy0f3E0pKo2kPRqoVP6kASNJQKpoYpK1eI6w64z3fB8IOruAB48F qOXAvGJhD+HMmhAAY9u74QEun0UiOfpLOtuJXdKg2UKRpBp8G0UFiqju2MfKMT2lXrepTh4MV 43IGpxsWYQkQVGhzTUnPp5OrXiclFGzSo3BX20KMThFkNbp/qD8AjvTKI0fzeb6Rqy9o4qoH/ iMWXeKJJudoXhORvyVTsP16DcVJos0BLkkkysTKEqU58NiqXOh2B6nr7oIeXsXbHxFP7ARfzu LoBlK6I Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe it as such. Signed-off-by: Jonathan Neuschäfer --- Documentation/core-api/atomic_ops.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/core-api/atomic_ops.rst b/Documentation/core-api/atomic_ops.rst index 2e7165f86f55..724583453e1f 100644 --- a/Documentation/core-api/atomic_ops.rst +++ b/Documentation/core-api/atomic_ops.rst @@ -29,7 +29,7 @@ updated by one CPU, local_t is probably more appropriate. Please see local_t. The first operations to implement for atomic_t's are the initializers and -plain reads. :: +plain writes. :: #define ATOMIC_INIT(i) { (i) } #define atomic_set(v, i) ((v)->counter = (i)) -- 2.17.1