From c35ac5d083f0467c6ef4f7595d977e7c0a98ddc9 Mon Sep 17 00:00:00 2001 From: Jim Cromie Date: Mon, 23 May 2011 12:44:57 -0600 Subject: [PATCH] --- yaml --- r: 251335 b: refs/heads/master c: ca995cbf77f3df599b7e751c2d08d90787c65c45 h: refs/heads/master i: 251333: 8a273a93cb39add76cfe2f828206b5969021a79b 251331: 9f1366eec5eab5bf671d43d978dbb2c0541dd0da 251327: 4df359362e1b3be8bfc29848434f196d2f7bf135 v: v3 --- [refs] | 2 +- trunk/scripts/export_report.pl | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index aa0deeb325cf..ef4c8fd592c4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bdabc7a345db97b3839c2c3deef40023cf8017ef +refs/heads/master: ca995cbf77f3df599b7e751c2d08d90787c65c45 diff --git a/trunk/scripts/export_report.pl b/trunk/scripts/export_report.pl index 48398a19fbbc..8f79b701de87 100644 --- a/trunk/scripts/export_report.pl +++ b/trunk/scripts/export_report.pl @@ -102,6 +102,8 @@ sub collectcfiles { # # collect the usage count of each symbol. # +my $modversion_warnings = 0; + foreach my $thismod (@allcfiles) { my $module; @@ -132,7 +134,8 @@ sub collectcfiles { } } if ($state != 2) { - print "WARNING:$thismod is not built with CONFIG_MODVERSION enabled\n"; + warn "WARNING:$thismod is not built with CONFIG_MODVERSIONS enabled\n"; + $modversion_warnings++; } close($module); } @@ -166,6 +169,9 @@ sub collectcfiles { modules. Each module lists the modules, and the symbols from that module that it uses. Each listed symbol reports the number of modules using it\n"); +print "\nNOTE: Got $modversion_warnings CONFIG_MODVERSIONS warnings\n\n" + if $modversion_warnings; + print "~"x80 , "\n"; for my $thismod (sort keys %MODULE) { my $list = $MODULE{$thismod};