[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230919141121.711084-2-xiexiuqi@huaweicloud.com>
Date: Tue, 19 Sep 2023 22:11:19 +0800
From: Xie XiuQi <xiexiuqi@...weicloud.com>
To: masahiroy@...nel.org, mcgrof@...nel.org, joe@...ches.com,
ojeda@...nel.org, ndesaulniers@...ogle.com,
linux-kernel@...r.kernel.org
Cc: xiexiuqi@...wei.com
Subject: [PATCH 1/3] scripts/export_report.pl: fix the path suffix of module
From: Xie XiuQi <xiexiuqi@...wei.com>
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 <xiexiuqi@...wei.com>
---
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);
--
2.25.1
Powered by blists - more mailing lists