From patchwork Sun Dec 4 12:18:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 29414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1764517wrr; Sun, 4 Dec 2022 04:23:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5wQkkkxRD3QmlrE7pz+CPvMCxxF66UOG5hGXbvdL39gmNMD7QC8lr3z9Itbf4ESbruf07w X-Received: by 2002:a17:902:bd81:b0:189:d342:c436 with SMTP id q1-20020a170902bd8100b00189d342c436mr1503491pls.94.1670156624852; Sun, 04 Dec 2022 04:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670156624; cv=none; d=google.com; s=arc-20160816; b=eosTEiVLdn+zdxMv6xu9HSC9h0A6lR78o6xjc+K1tfoToBfjuPleh//P+QM2BvfNud hwlNwcMKLrBEagCKAe2YqL6W0d0NDM+vvZenXW+ovZw3ADOIbqF+aCH5j1hk3WvZ++l9 2iJLJS6R8d7kcGGQzFUeRkex4FY5KmGovGoyff0TWmUm/UQblF++aVRfU7yD3UDDCBlO d18Vs/P+iIiVWYgPPfxlKxvnbh7FvmtFs7ZpCxu1Z27kR8MTsjv+cSyHGBcSwE+tWI2D eJdhpFuVPCxfYSUZ3FFiR69IwG7Td+dFbj2Aev+vyXau9Rg/g1URanRST2hr2sTQ2X9r 8TNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=eo3BKlAj/KdkJx4rSL7UE5YDF77agAMrOL9EY/6Vhhg=; b=suXN3EnkgHDUUVXnUR7mSzcM4mtTfgU+I9NRn19Ilvaj8b1vQZrMB9FBBFVWFaR3JC 6B0ddxwMwYlmDopX/K14lH9G0DrC50BMOXUTKRnrnRggq2JXQ7sU+JQP3Fjw0vTlsR0a gnsaP9zSKCO8BSblhJkouBuJcVnKP/kmS8ohutLNGw/xLASHMDuI8YzCB1Wb1jTvwatk NUrSKsP091RgYD1boZmUJo6vN17XrRhg4WbVBud3h8qG4wnLuXXeSGHFAhjZ7GU028jF u6STuOUnvTk+OlPdekg75SElF+Wg4qoB0HTEdLkYjas03IlMaaE2MIdfktHbLnyygU4T rb9Q== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020a630a48000000b0046fef65f738si12289290pgk.793.2022.12.04.04.23.30; Sun, 04 Dec 2022 04:23:44 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230096AbiLDMTQ (ORCPT + 99 others); Sun, 4 Dec 2022 07:19:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiLDMTO (ORCPT ); Sun, 4 Dec 2022 07:19:14 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7873C13F71; Sun, 4 Dec 2022 04:19:12 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Axz+s_kIxjMRYDAA--.7155S3; Sun, 04 Dec 2022 20:19:11 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxbuA8kIxjkmMlAA--.26442S3; Sun, 04 Dec 2022 20:19:10 +0800 (CST) From: Tiezhu Yang To: Jonathan Corbet Cc: loongarch@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] Documentation/features-refresh.sh: Only sed the beginning "arch" of ARCH_DIR Date: Sun, 4 Dec 2022 20:18:46 +0800 Message-Id: <1670156327-9631-2-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1670156327-9631-1-git-send-email-yangtiezhu@loongson.cn> References: <1670156327-9631-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf8DxbuA8kIxjkmMlAA--.26442S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrtw1xZF4UJFyrKF1DWr1Utrb_yoWkCwbEka 9xtF1UtrWUJr1I9ry5JF4YkFy2v34F9a1ruwn3JF4Fyw1I9a9xGFZFkrW5Za4UZr45Cr1r CFZ7XrW7Ar12qjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY 17kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1I6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS 0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0V AKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1l Ox8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s 026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_ JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14 v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xva j40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJV W8JbIYCTnIWIevJa73UjIFyTuYvjxU7_MaUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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?1751286152728409109?= X-GMAIL-MSGID: =?utf-8?q?1751286152728409109?= It should only sed the beginning "arch" of ARCH_DIR in features-refresh.sh, otherwise loongarch is recognized as loong, that is not what we want. Fixes: be99f610a110 ("Documentation/features: Add script that refreshes the arch support status files in place") Signed-off-by: Tiezhu Yang --- Documentation/features/scripts/features-refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/scripts/features-refresh.sh b/Documentation/features/scripts/features-refresh.sh index 9e72d38..c228812 100755 --- a/Documentation/features/scripts/features-refresh.sh +++ b/Documentation/features/scripts/features-refresh.sh @@ -60,7 +60,7 @@ for F_FILE in Documentation/features/*/*/arch-support.txt; do echo " | arch |status|" >> $T_FILE echo " -----------------------" >> $T_FILE for ARCH_DIR in arch/*/; do - ARCH=$(echo $ARCH_DIR | sed -e 's/arch//g' | sed -e 's/\///g') + ARCH=$(echo $ARCH_DIR | sed -e 's/^arch//g' | sed -e 's/\///g') K_FILES=$(find $ARCH_DIR -name "Kconfig*") K_GREP=$(grep "$K" $K_FILES) #