diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 95ba30a24dcf..01a65988a057 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -2894,6 +2894,12 @@ sub process { | |||
| 2894 | { | 2894 | { |
| 2895 | } | 2895 | } |
| 2896 | 2896 | ||
| 2897 | # Flatten any obvious string concatentation. | ||
| 2898 | while ($dstat =~ s/("X*")\s*$Ident/$1/ || | ||
| 2899 | $dstat =~ s/$Ident\s*("X*")/$1/) | ||
| 2900 | { | ||
| 2901 | } | ||
| 2902 | |||
| 2897 | my $exceptions = qr{ | 2903 | my $exceptions = qr{ |
| 2898 | $Declare| | 2904 | $Declare| |
| 2899 | module_param_named| | 2905 | module_param_named| |
