Message ID | 20230605070124.3741859-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:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2497785vqr; Mon, 5 Jun 2023 00:04:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5b1GVaX4zJupBqjQIvmlZ3B1oMK9/g28o8wjgFqHsK2f3LSuTeTX1dfq820u7Wk3VP0hqw X-Received: by 2002:a17:902:c951:b0:1b0:496b:5ae9 with SMTP id i17-20020a170902c95100b001b0496b5ae9mr3011793pla.25.1685948639601; Mon, 05 Jun 2023 00:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685948639; cv=none; d=google.com; s=arc-20160816; b=iRpvMkY0/wxfSHcu8F8ygk5hSrGCnBUqeF6K5i8uMPp17fw5T5KjqgfdoIgZ5n+eIt aBQ7lV1Q7mI0knAOMgRJzgTGMPBRIwKs1/ua4E1ee2bmGELbEUNrQP87yDR8Bps9tExn lMHxjcXGdQ3uqMHxiCy1JxzsXMXwx1D6os3n23jWJyaMaszdkNbbq8ZUCPZmn0XArh9J qgtz9oJX6lMUSi50YnU4kbuwcuHPObSfs/pdLrvJQb0cDt5OHIPGgQhYlU8wydW7bieY 7BK9O7YRo/R1T0XCU3YcszbVqeRtwVtrOEpfmrs5C8NTRiGA11VQIXSYe6vjfnmx8yCO NVVQ== 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=kqzCq8M9qAV86ElhoICQ7Txc7oKnD702PeU7Jwbk5Ts=; b=YEboyAGfu/my3Mx3lYzs23lhS4HH0AFcFiZNlwvNdkdgIVsZtcb+XqFV521PZWzy5a JeRC21h3VD80UuAkbbTqUmuoLj92cXhDnEMnlSLhHD5qEEmhBLF40wVntlvgN273bpoY sut5p+BoA0YrSTScEVQem4fauF6aPjfEKg+w3/bB6Wx2QWXQkkTGfjTVZhXdQ3DtKsgc TI9xV34abrPtqeueCECcfIsZCkqF+Uhh6bq10DnDDHHJ5rEQUSEoA4YhdtLGiSo7Bio4 cpR34JQCF/Mb5rNvciv6LLaRnaBXMhm43c/uX8vW2yj7e2ToaZNewpNNZVHn0QtIxz8c pysg== 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 jn15-20020a170903050f00b001a6b273fef3si4944648plb.442.2023.06.05.00.03.47; Mon, 05 Jun 2023 00:03: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 S230412AbjFEHDI (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Mon, 5 Jun 2023 03:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbjFEHCi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Jun 2023 03:02:38 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8C41910E5; Mon, 5 Jun 2023 00:02:08 -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 E94E81596; Mon, 5 Jun 2023 00:02:53 -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 A40EA3F793; Mon, 5 Jun 2023 00:02:06 -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@armlinux.org.uk, linux-doc@vger.kernel.org, mark.rutland@arm.com, mchehab@kernel.org, paulmck@kernel.org, peterz@infradead.org, rdunlap@infradead.org, sstabellini@kernel.org, will@kernel.org Subject: [PATCH v2 14/27] locking/atomic: scripts: remove bogus order parameter Date: Mon, 5 Jun 2023 08:01:11 +0100 Message-Id: <20230605070124.3741859-15-mark.rutland@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230605070124.3741859-1-mark.rutland@arm.com> References: <20230605070124.3741859-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?1767845280460413108?= X-GMAIL-MSGID: =?utf-8?q?1767845280460413108?= |
Series |
locking/atomic: restructuring + kerneldoc
|
|
Commit Message
Mark Rutland
June 5, 2023, 7:01 a.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> Reviewed-by: Kees Cook <keescook@chromium.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Paul E. McKenney <paulmck@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@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