Message ID | 20230522122429.1915021-15-mark.rutland@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1411175vqo; Mon, 22 May 2023 05:31:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Asgmy1jyWlendLWs4cGAhgZhGF87Fjjb55IdOiOI5NWwUi1tYr4DhB1bnJKKkpXcBIStY X-Received: by 2002:a17:90b:3113:b0:23d:a2a:3ae4 with SMTP id gc19-20020a17090b311300b0023d0a2a3ae4mr10424052pjb.44.1684758659768; Mon, 22 May 2023 05:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684758659; cv=none; d=google.com; s=arc-20160816; b=ONhHrZyS/gWgq9y9j0tP2W8ljNzu+/O50cxpJHPz6RXyhn3+mt8zKGZIjY10MzGL54 ta6UnpeHPxBQ9Rs2JLssZlBph8r8zHgZfBrLTk3qWcqBxrxYtryZr7xJ4b6lxrQNEO0k B/OlG7EBESAJRR9ARZDAsmPJWUIuq9cStpvxhXy8O88M6SQKyPj45PnvJidCPwQ8Kn3g 89Vc+G4Ph50QEE/RxT1VI4RsUb8Te2Q1Myob4ZwmspJ39wd/WZ5ijRFR9sRaoB2/WomK PGqEnNx+1rj5X/PqcYYid8HR8E56y2YD/fIYZvDdfJA8WMEZBtQraW5xxCjP5ilevyLf RmDA== 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; bh=95ZSUv5KbvF9/+XvnL2GyQiZp0i1/KNIDJp/l4EjP+s=; b=0ptMFwKre88ViPbwWZTo7bk3VF0nj1WxPBsefZB2oGUpOWBHCppiVLQfsThylqkwxh Wd93/iw8gVW/8kwllf5eUtc/NbHPZAGaH3Fc5YrRldefTRAfzAHXqJ1ZSuBX3wGYacdy LRRd24+8q4tenNTLhT/cjhSM/T9C+9MCWTg6gpwKzEEAx8jHqaO6Skufxr3ERKHt4wYj 3BAN79058GKhl43zjQdM3LthJs2T+Ce0mtYxaSENloa7yC1l2vXnj9QP4/Av4VEkm/gR zitDVpFg9OifTpXXA1grSmjacF8xnuNBey58E6Hb604HJ0+FXc6oGJrcsBUB0jJmhmms axgA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u190-20020a6385c7000000b0052c9458bc07si757547pgd.468.2023.05.22.05.30.43; Mon, 22 May 2023 05:30:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234103AbjEVM2O (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Mon, 22 May 2023 08:28:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231231AbjEVM07 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 22 May 2023 08:26:59 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 14AB418B; Mon, 22 May 2023 05:25:15 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 61614139F; Mon, 22 May 2023 05:25:57 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id ADF3F3F59C; Mon, 22 May 2023 05:25:10 -0700 (PDT) From: Mark Rutland <mark.rutland@arm.com> To: linux-kernel@vger.kernel.org Cc: akiyks@gmail.com, boqun.feng@gmail.com, corbet@lwn.net, keescook@chromium.org, linux-arch@vger.kernel.org, linux@armlinux.org.uk, linux-doc@vger.kernel.org, mark.rutland@arm.com, paulmck@kernel.org, peterz@infradead.org, sstabellini@kernel.org, will@kernel.org Subject: [PATCH 14/26] locking/atomic: scripts: remove bogus order parameter Date: Mon, 22 May 2023 13:24:17 +0100 Message-Id: <20230522122429.1915021-15-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230522122429.1915021-1-mark.rutland@arm.com> References: <20230522122429.1915021-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766597496401906423?= X-GMAIL-MSGID: =?utf-8?q?1766597496401906423?= |
Series |
locking/atomic: restructuring + kerneldoc
|
|
Commit Message
Mark Rutland
May 22, 2023, 12:24 p.m. UTC
At the start of gen_proto_order_variants(), the ${order} variable is not
yet defined, and will be substituted with an empty string.
Replace the current bogus use of ${order} with an empty string instead.
This results in no change to the generated headers.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
---
scripts/atomic/gen-atomic-fallback.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/atomic/gen-atomic-fallback.sh b/scripts/atomic/gen-atomic-fallback.sh index a70acd548fcd8..7a6bcea8f565b 100755 --- a/scripts/atomic/gen-atomic-fallback.sh +++ b/scripts/atomic/gen-atomic-fallback.sh @@ -81,7 +81,7 @@ gen_proto_order_variants() local basename="arch_${atomic}_${pfx}${name}${sfx}" - local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")" + local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "")" # If we don't have relaxed atomics, then we don't bother with ordering fallbacks # read_acquire and set_release need to be templated, though