lkml.org 
[lkml]   [2023]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] scripts/export_report.pl: fix the path suffix of module
Date
From: Xie XiuQi <xiexiuqi@huawei.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@huawei.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
\
 
 \ /
  Last update: 2023-09-19 16:16    [W:7.704 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site