Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5248561rwd; Mon, 5 Jun 2023 00:11:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VrUaF2SZ6cC3U6/JqH5aHdLdZipREwQt9wWi2dvXGtQ7ZKJYvmU8tJi+7NQZ2eCJiGnhW X-Received: by 2002:a05:6a20:9384:b0:10f:1d52:93c2 with SMTP id x4-20020a056a20938400b0010f1d5293c2mr1508235pzh.28.1685949116772; Mon, 05 Jun 2023 00:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685949116; cv=none; d=google.com; s=arc-20160816; b=iBwKzxkpsCJbEJPEOK/OM4iA2TmNsXTNHuQQyZEf//EtEE7LwjZlqMq0ZelQE7n1Cn jp0XFx4yLZ6xNehf0mdACoAgCT7iBoP+nupkvebe91Xc0vxaOj6oa+hUI+IN8MgxUiAy J179f7lEpQa+KViI219JDpOhWQBXRcqBxG5EpEZ/6ej7rWkx52/8iKf1Gtede1zUru6N FaHCYvNhUTyZOOkYEAPCpL7JNgpeaAUitaEFa7x4Af7uuzXvGG3SY++b1UdN3Tv8RYS6 TcuCnbxUDCTiz4MduMgAjNX2KOXcpL559LrzzL5i4s3NYhbd+h1oovb9ywvisRZK6Q5r cq9w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z127-20020a626585000000b0064354230c2asi4842125pfb.367.2023.06.05.00.11.44; Mon, 05 Jun 2023 00:11:56 -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 S230404AbjFEHDI (ORCPT + 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 ); 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Kees Cook Cc: Boqun Feng Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Will Deacon --- 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 -- 2.30.2