Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7727763rwr; Wed, 10 May 2023 11:44:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Izr0T7lo1gkC6WiNIqiRVJLV2Qoz9HGmFJKlAQ2ATQNgHjfjyYg5HC00buduPehqbKZO7 X-Received: by 2002:a17:90b:246:b0:24e:243b:8735 with SMTP id fz6-20020a17090b024600b0024e243b8735mr26509942pjb.13.1683744260619; Wed, 10 May 2023 11:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683744260; cv=none; d=google.com; s=arc-20160816; b=fZlmQ3NTC/NLJoZr8MkZntpldZwZ1iVKjlngIoZpzI8XHx/RdMgd/CVhq8RxeFFcz/ TGxZU37vE9FJGa9RsMuG+AoY+YmKrgW2eMFI5MCH/A1Dm7VN18uTITssmx2YhDnIqWk0 KkXheLVvEZDtTKYj+olB+cTYKWsMdLnAX6/+piCGC/bUbple9Ej5TU4WzJS3BrtOUCMF S3EqeE+UFv+UuLf1TAFN3HP7BBwjYq8l52MqOL/wkUB3KabAxbuYyNjLVbp7G5IhQOVP Lyc8EADZkdNciUswqk1ewj50HbDcxztA4kR3zzpL6+LTGXdQGtJOt2Xh0rbedLgJP4e5 Id6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ipj1qfce2sFGKakpKaWKAtYY2Vx5yUi3mXhH0FhE7HE=; b=iaBcv2i9Cg2Y12hiwoR1cD9crwG5XC0YHWykE75jwrQw+pJjqY8WthtROxhYS0pxF8 3ZaJNqBnGVeOG0A5MxCHCgGFNv0BgPQFJ6X8Vji9Gi3bsq1LcneT/IRd3h2hsPDzHTEs 7kCVNpmJHFTDM+269T0v70Bf0LzlolGBy2I2Dsh8jeuWa/NgUdHXUsMlFpR3iwY4LWje EWcHeXaVBOjMQJedoe4LFS4SFEytGKLDbO9gVUpgV/BCJzl2sK7SnC7faGfC/pTZwwqZ QZFPJFJx8YdBMvvdWX1BRzJdr7iJiIETHYYQfJLst8EvGVLSwSFv/Za9w0DDi9LRklBg 4BHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AD+barTa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t65-20020a637844000000b005287f5fbf5esi4486835pgc.254.2023.05.10.11.44.08; Wed, 10 May 2023 11:44:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AD+barTa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236052AbjEJSSP (ORCPT + 99 others); Wed, 10 May 2023 14:18:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236089AbjEJSSE (ORCPT ); Wed, 10 May 2023 14:18:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 722B57A8A; Wed, 10 May 2023 11:17:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB5D163F7A; Wed, 10 May 2023 18:17:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32FCFC433D2; Wed, 10 May 2023 18:17:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683742639; bh=KB8lXc7zZ3+DrRqeJZSACdw3EUil7+a97nQI2II+M98=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AD+barTaVX8y+DNIVRHjyZVk6aMS9U9wGnwdUs+i6L7QVRCp2GNxW0J4DvKl8xUNp bef+WyWRqxQ2qNXW0T4LmPXu0Tb/ybPtFbl+QQpTI1slzRMZRQszn8vuuhXH/Zr/Z3 WGIICvcEU0TWzGd5ZK76KKHSI2Yu/RyGaXDFWRZrKjuOwaOCsBrB4nle1fUDxbdL+L zSBm6cWODgesfyDPnvqjTkKlymAb4LaVjjTQ0bNTlKYK/28BkVarf4OtUL5sBx1xZC IwFBwpnaBe1ltvrGZxViCB1Tpmx9dF1IE8bHX8muehsIXUXqQtxJPkYkuB+562ZEst BCQf7NrxipUUw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D024CCE120B; Wed, 10 May 2023 11:17:18 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, akiyks@gmail.com, linux-doc@vger.kernel.org, kernel-team@meta.com, "Paul E. McKenney" , Will Deacon , Peter Zijlstra , Boqun Feng , Mark Rutland Subject: [PATCH locking/atomic 01/19] locking/atomic: Fix fetch_add_unless missing-period typo Date: Wed, 10 May 2023 11:16:59 -0700 Message-Id: <20230510181717.2200934-1-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <19135936-06d7-4705-8bc8-bb31c2a478ca@paulmck-laptop> References: <19135936-06d7-4705-8bc8-bb31c2a478ca@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The fetch_add_unless() kernel-doc header is missing a period ("."). Therefore, add it. Signed-off-by: Paul E. McKenney Cc: Will Deacon Cc: Peter Zijlstra Cc: Boqun Feng Cc: Mark Rutland --- include/linux/atomic/atomic-arch-fallback.h | 6 +++--- scripts/atomic/fallbacks/fetch_add_unless | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/atomic/atomic-arch-fallback.h b/include/linux/atomic/atomic-arch-fallback.h index a6e4437c5f36..c4087c32fb0e 100644 --- a/include/linux/atomic/atomic-arch-fallback.h +++ b/include/linux/atomic/atomic-arch-fallback.h @@ -1351,7 +1351,7 @@ arch_atomic_add_negative(int i, atomic_t *v) * @u: ...unless v is equal to u. * * Atomically adds @a to @v, so long as @v was not already @u. - * Returns original value of @v + * Returns original value of @v. */ static __always_inline int arch_atomic_fetch_add_unless(atomic_t *v, int a, int u) @@ -2567,7 +2567,7 @@ arch_atomic64_add_negative(s64 i, atomic64_t *v) * @u: ...unless v is equal to u. * * Atomically adds @a to @v, so long as @v was not already @u. - * Returns original value of @v + * Returns original value of @v. */ static __always_inline s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) @@ -2668,4 +2668,4 @@ arch_atomic64_dec_if_positive(atomic64_t *v) #endif #endif /* _LINUX_ATOMIC_FALLBACK_H */ -// ad2e2b4d168dbc60a73922616047a9bfa446af36 +// 201cc01b616875888e0b2c79965c569a89c0edcd diff --git a/scripts/atomic/fallbacks/fetch_add_unless b/scripts/atomic/fallbacks/fetch_add_unless index 68ce13c8b9da..a1692df0d514 100755 --- a/scripts/atomic/fallbacks/fetch_add_unless +++ b/scripts/atomic/fallbacks/fetch_add_unless @@ -6,7 +6,7 @@ cat << EOF * @u: ...unless v is equal to u. * * Atomically adds @a to @v, so long as @v was not already @u. - * Returns original value of @v + * Returns original value of @v. */ static __always_inline ${int} arch_${atomic}_fetch_add_unless(${atomic}_t *v, ${int} a, ${int} u) -- 2.40.1