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 2/3] scripts/export_report.pl: improve warning message
Date
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
\
 
 \ /
  Last update: 2023-09-19 16:16    [W:0.036 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site