From patchwork Tue Jun 6 08:26:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 103635 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3237635vqr; Tue, 6 Jun 2023 01:34:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XjgUj3CWLX/cD42R/kGULkvGKZhmcXGAqyQyhVj1JU3v+hlVfXardIcPkABCYaue//gxJ X-Received: by 2002:a05:620a:3956:b0:75b:23a0:e7ae with SMTP id qs22-20020a05620a395600b0075b23a0e7aemr1460171qkn.15.1686040485761; Tue, 06 Jun 2023 01:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686040485; cv=none; d=google.com; s=arc-20160816; b=S3bhtn4VzaE12B9barShNMYO7Ednk42gt50SwEJ9i5YKxjdp17gWIHxX1yZaBUjuol tqm/5aPerrPvVXxLB8Xr3wpjWkJn05Wu1wEE5/Z2v77F9A32eXNMNvuweniD5Ld7p5Ym 7PFeYHQyVozb9eKeKcICPJx4k9MEANw3C2Kck1R7fw9fQKYsSkLgD+t12Iii1+JTX7Gg kGulp1vYbxFx+JJtApqXEBa/V9POw27NTx+u9LQoUShAhNhYjhqV5hm3jN8CNdwCr0T+ VZWMKeCEJt+KaWPjXZhGy76UYIrEH+XwojXYgWvLpb2lzsjuhF5tkIOtJgfJ9w8S7I3o /TSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=7MBILDPZ33vrV9dcDvWtslZdP7yLwLmQ7fH/hx8xM1Q=; b=LQaWcKt5cdYdCBWlAVtuw6UuCG9+ZGMfoHye+kgrW4Y2JSBWPa8q6dFzkuQkgxwBZd Lme9bA9WHNwPbTSdTXpfFz/U6SYpEM+i38Z0RkW1B/PWignwTMhjSPVjuRZVwGl8guSu khbvzovzQlpYqy8/SYZDLGHUlsQuOYCto7nLcO/8aiQjAmwuYekjzErYvp87ZoKlDDJL rl4qoq9hJpUDeMsfJsdzbJUeK2s9CjWtMG2guj1vzsxHpxO9cRH0MdornqzAOLFuUNwf mc0GHBchWPg8rYtmwvu1Nj/BVQkm7ZmceFB+2g5FLnDl/JY5gIWYmkX/UONSatrBaUG1 uykg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Kd3MXCmW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=el7RP9Ry; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m18-20020ae9e712000000b00751367767a9si5637277qka.18.2023.06.06.01.34.32; Tue, 06 Jun 2023 01:34:45 -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=@linutronix.de header.s=2020 header.b=Kd3MXCmW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=el7RP9Ry; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236850AbjFFI1p (ORCPT + 99 others); Tue, 6 Jun 2023 04:27:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236828AbjFFI0h (ORCPT ); Tue, 6 Jun 2023 04:26:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41690E64; Tue, 6 Jun 2023 01:26:26 -0700 (PDT) Date: Tue, 06 Jun 2023 08:26:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686039981; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7MBILDPZ33vrV9dcDvWtslZdP7yLwLmQ7fH/hx8xM1Q=; b=Kd3MXCmWc+5JRsn6IxKuUFguu0dqvfD0aRzVmQmhngKNcwV9BP8A1mbHnyEQPEavgyFazG xu6GEGqkxyrt/Q/1105uqNkOKTePYzKEV0EEgbz2IodBPxOndB6/3Z49Haan3MFWRDQt2R dytWFIc7k++JfLM9oA67cCS2xJuQSCagMGBOyEr+K2if5B25Lr2v0fdSLbMJgFzhwSKs5e m7ZpdQyQsf76AMe5d+4ndKQvU3riEnMQX8V5Vn0Tyj/xsDR42IwcWHqIhCBBYxuPA+S7f1 3Z2y2FvASrmL1sI8U2F58bb5ly0gHgexdWdHTeG4JGglbUkM6o6AWJaQ8CZSRg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686039981; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7MBILDPZ33vrV9dcDvWtslZdP7yLwLmQ7fH/hx8xM1Q=; b=el7RP9RyGGH3tggJdccn88ZMZQDciSNmm68p3KTPTKl2MGiMPIRZ4PRYTIWbxMpzzUUNIP 9RVFOcmUAfP4hWBQ== From: "tip-bot2 for Mark Rutland" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] locking/atomic: scripts: remove bogus order parameter Cc: Mark Rutland , "Peter Zijlstra (Intel)" , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230605070124.3741859-15-mark.rutland@arm.com> References: <20230605070124.3741859-15-mark.rutland@arm.com> MIME-Version: 1.0 Message-ID: <168603998082.404.6497984744465631560.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767845280460413108?= X-GMAIL-MSGID: =?utf-8?q?1767941588120406749?= The following commit has been merged into the locking/core branch of tip: Commit-ID: a083ecc9333c62237551ad93f42e86a42a3c7cc2 Gitweb: https://git.kernel.org/tip/a083ecc9333c62237551ad93f42e86a42a3c7cc2 Author: Mark Rutland AuthorDate: Mon, 05 Jun 2023 08:01:11 +01:00 Committer: Peter Zijlstra CommitterDate: Mon, 05 Jun 2023 09:57:18 +02:00 locking/atomic: scripts: remove bogus order parameter 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 Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20230605070124.3741859-15-mark.rutland@arm.com --- 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 a70acd5..7a6bcea 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