diff options
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9a89a0609bac..57a11d7ee841 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -435,7 +435,7 @@ sub build_types { | |||
435 | }x; | 435 | }x; |
436 | $Type = qr{ | 436 | $Type = qr{ |
437 | $NonptrType | 437 | $NonptrType |
438 | (?:(?:\s|\*|\[\])+\s*const|(?:\s|\*|\[\])+|(?:\s*\[\s*\])+)? | 438 | (?:(?:\s|\*|\[\])+\s*const|(?:\s|\*\s*(?:const\s*)?|\[\])+|(?:\s*\[\s*\])+)? |
439 | (?:\s+$Inline|\s+$Modifier)* | 439 | (?:\s+$Inline|\s+$Modifier)* |
440 | }x; | 440 | }x; |
441 | $Declare = qr{(?:$Storage\s+(?:$Inline\s+)?)?$Type}; | 441 | $Declare = qr{(?:$Storage\s+(?:$Inline\s+)?)?$Type}; |