Messages in this thread Patch in this message | | | From | Xie XiuQi <> | Subject | [PATCH 2/3] scripts/export_report.pl: improve warning message | Date | Tue, 19 Sep 2023 22:11:20 +0800 |
| |
From: Xie XiuQi <xiexiuqi@huawei.com>
In this warning message, it's better to use the module name instead of .mod.c.
Before: 'WARNING:fs/efivarfs/efivarfs.mod.c is not built with CONFIG_MODVERSIONS enabled'
After: 'WARNING:fs/efivarfs/efivarfs.ko is not built with CONFIG_MODVERSIONS enabled'
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> --- scripts/export_report.pl | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/scripts/export_report.pl b/scripts/export_report.pl index fa3e47ac7c3b..eda570224a2d 100755 --- a/scripts/export_report.pl +++ b/scripts/export_report.pl @@ -112,6 +112,8 @@ foreach my $thismod (@allcfiles) { next; } + $thismod =~ s/\.mod\.c/.ko/; + my $state=0; while ( <$module> ) { chomp; -- 2.25.1
| |