From nobody Mon Dec 30 16:14:05 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B560DCD5BC8 for ; Tue, 19 Sep 2023 14:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232692AbjISOPs (ORCPT ); Tue, 19 Sep 2023 10:15:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232663AbjISOPm (ORCPT ); Tue, 19 Sep 2023 10:15:42 -0400 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50B31A1 for ; Tue, 19 Sep 2023 07:15:36 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4RqkGD3WQLz4f3kjy for ; Tue, 19 Sep 2023 22:15:32 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.103.91]) by APP4 (Coremail) with SMTP id gCh0CgAnvdwErQllkNB7Aw--.46916S5; Tue, 19 Sep 2023 22:15:33 +0800 (CST) From: Xie XiuQi To: masahiroy@kernel.org, mcgrof@kernel.org, joe@perches.com, ojeda@kernel.org, ndesaulniers@gooogle.com, linux-kernel@vger.kernel.org Cc: xiexiuqi@huawei.com Subject: [PATCH 1/3] scripts/export_report.pl: fix the path suffix of module Date: Tue, 19 Sep 2023 22:11:19 +0800 Message-Id: <20230919141121.711084-2-xiexiuqi@huaweicloud.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230919141121.711084-1-xiexiuqi@huaweicloud.com> References: <20230919141121.711084-1-xiexiuqi@huaweicloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANS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EXa7IU1xsqJUUUUU== X-CM-SenderInfo: x0lh5xhxtlqx5xdzvxpfor3voofrz/ X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Xie XiuQi Since commit f65a486821cf ("kbuild: change module.order to list *.o instead= of *.ko"), modules.order stores .o instead of .ko. Therefore, fix it in export_report.= pl. Otherwise, the corresponding .mod.c file cannot be found. Fixes: f65a486821cf ("kbuild: change module.order to list *.o instead of *.= ko") Signed-off-by: Xie XiuQi --- scripts/export_report.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/export_report.pl b/scripts/export_report.pl index feb3d5542a62..fa3e47ac7c3b 100755 --- a/scripts/export_report.pl +++ b/scripts/export_report.pl @@ -54,7 +54,7 @@ sub collectcfiles { my @file; open my $fh, '< modules.order' or die "cannot open modules.order: $!\n= "; while (<$fh>) { - s/\.ko$/.mod.c/; + s/\.o$/.mod.c/; push (@file, $_) } close($fh); --=20 2.25.1