kbuild: fix export_report.pl
authorAdrian Bunk <bunk@kernel.org>
Fri, 24 Aug 2007 21:04:51 +0000 (23:04 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Fri, 12 Oct 2007 19:13:50 +0000 (21:13 +0200)
This patch fixes an annoying bug of export_report.pl missing the usages
of some exports.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

scripts/export_report.pl

index 9ed00d9..08ceb42 100644 (file)
@@ -112,7 +112,7 @@ foreach my $thismod (@allcfiles) {
                        next;
                }
                if ($state eq 2) {
-                       if ( $_ !~ /0x[0-9a-f]{7,8},/ ) {
+                       if ( $_ !~ /0x[0-9a-f]+,/ ) {
                                next;
                        }
                        my $sym = (split /([,"])/,)[4];