Re: [2.6 patch] fix export_report.pl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
>
>---
>
>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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux