Re: [2.6 patch] fix export_report.pl

From: Jan Engelhardt
Date: Fri Aug 24 2007 - 17:36:52 EST



On Aug 24 2007 23:04, Adrian Bunk wrote:
>This patch fixes an annoying bug of export_report.pl missing the usages
>of some exports.
>
>Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
>---
>
>This patch has been sent on:
>- 14 Aug 2007
>
>--- a/scripts/export_report.pl
>+++ b/scripts/export_report.pl
>@@ -112,7 +112,7 @@ foreach my $thismod (@allcfiles) {
> next;
> }
> if ($state eq 2) {

Perl: == for numbers, eq for strings.
SH: == for strings, -eq for numbers.
PHP: == for everything.


>- if ( $_ !~ /0x[0-9a-f]{7,8},/ ) {
>+ if ( $_ !~ /0x[0-9a-f]+,/ ) {

I have not looked closer at it, but this looks like it should be
/0x[0-9a-fA-F]+,/ or
/0x[0-9a-f]+,/i

> next;
> }
> my $sym = (split /([,"])/,)[4];
>

Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/