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 9ed00d9bb0a75c3544d96be4f0ca5e5352dab57a..08ceb42c19bbf09b07c9ce630ff989186feffcca 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];