Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2891501rwd; Mon, 22 May 2023 06:01:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Kl36QL3bRMc2W1al+MzxdOwzzsCU1cWNnl7bJ0aI5GOEA3FoF94LIdSMTE/nnm2KCdXnQ X-Received: by 2002:a05:6a00:138c:b0:64d:413b:1e1b with SMTP id t12-20020a056a00138c00b0064d413b1e1bmr11917014pfg.23.1684760506050; Mon, 22 May 2023 06:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684760506; cv=none; d=google.com; s=arc-20160816; b=rEayQxvUyDRPByyKhORiYRs3+NLFEMKWkpaS/i4FNi3FeOkjEUbsOp/QOsSTLntOyO JFfo0a9qCz9OT+2KqjXcOEusSxePP/TLgItP1ALoIMRGZlExbCIV2SrUPGYfG9vI8s5i FivNww7Jmw0oJfhI5A9FBtVIzTa1ARg0RHmhv3gApXXe82uGbdCB6x2MJh0QbkQq+i6r RpIo6cQe0YYuNT+m4nfSiT5siA1KcJRqdL+UGM7ipdm3YM7HwXWLUQWGYeANXP4nuaz0 aSpGxlQT/15YYXJjepGaqJge2WObEAOtunEVXifXRKLswvEN8OwJYHcEevJznYkhCran N0sg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z28-20020aa79e5c000000b0064354230c2asi4656358pfq.367.2023.05.22.06.01.12; Mon, 22 May 2023 06:01:46 -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 S233761AbjEVM2N (ORCPT + 99 others); Mon, 22 May 2023 08:28:13 -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 ); 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 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: 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 Cc: Will Deacon Cc: Peter Zijlstra Cc: Boqun Feng Cc: Paul E. McKenney --- 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