On Thu, Jan 8, 2009 at 6:06 PM, <[email protected]> wrote:
> Revision 5964 Author vapier Date 2009-01-08 04:06:38 -0600 (Thu, 08 Jan
> 2009)
>
> Log Message
>
> pull in linux-2.6.28 updates
>
> Modified Paths
>
> trunk/scripts/checkpatch.pl
Did I miss this file's changes? it is not in my 'dontdiff' file.
Any hints?
Thanks
-Bryan
>
> Diff
>
> Modified: trunk/scripts/checkpatch.pl (5963 => 5964)
>
> --- trunk/scripts/checkpatch.pl 2009-01-08 10:02:27 UTC (rev 5963)
> +++ trunk/scripts/checkpatch.pl 2009-01-08 10:06:38 UTC (rev 5964)
> @@ -1347,13 +1347,13 @@
> } elsif ($s =~ /^.\s*$Ident\s*\(/s) {
>
> # declarations always start with types
> - } elsif ($prev_values eq 'E' && $s =~
> /^.\s*(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?((?:\s*$Ident)+)\b(?:\s+$Sparse)?\s*\**\s*(?:$Ident|\(\*[^\)]*\))\s*(?:;|=|,|\()/s)
> {
> + } elsif ($prev_values eq 'E' && $s =~
> /^.\s*(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?((?:\s*$Ident)+?)\b(?:\s+$Sparse)?\s*\**\s*(?:$Ident|\(\*[^\)]*\))(?:\s*$Modifier)?\s*(?:;|=|,|\()/s)
> {
> my $type = $1;
> $type =~ s/\s+/ /g;
> possible($type, "A:" . $s);
>
> # definitions in global scope can only start with types
> - } elsif ($s =~
> /^.(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?($Ident)\b/s) {
> + } elsif ($s =~
> /^.(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?($Ident)\b\s*(?!:)/s) {
> possible($1, "B:" . $s);
> }
>
> @@ -1611,7 +1611,7 @@
> }
>
> # check for external initialisers.
> - if ($line =~ /^.$Type\s*$Ident\s*=\s*(0|NULL);/) {
> + if ($line =~
> /^.$Type\s*$Ident\s*(?:\s+$Modifier)*\s*=\s*(0|NULL|false)\s*;/) {
> ERROR("do not initialise externals to 0 or NULL\n" .
> $herecurr);
> }
> @@ -2203,6 +2203,7 @@
> if ($dstat ne '' &&
> $dstat !~ /^(?:$Ident|-?$Constant)$/ &&
> $dstat !~ /$exceptions/ &&
> + $dstat !~ /^\.$Ident\s*=/ &&
> $dstat =~ /$Operators/)
> {
> ERROR("Macros with complex values
> should be enclosed in parenthesis\n"
> . "$here\n$ctx\n");
>
> _______________________________________________
> Linux-kernel-commits mailing list
> [email protected]
> http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
>
>
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits