Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -2815,7 +2815,7 @@ sub process { · 2814 unmodified lines | ||
| 2815 | 2815 | # Flatten any parentheses and braces |
| 2816 | 2816 | while ($dstat =~ s/\([^\(\)]*\)/1/ || |
| 2817 | 2817 | $dstat =~ s/\{[^\{\}]*\}/1/ || |
| 2818 | − $dstat =~ s/\[[^\{\}]*\]/1/) | |
| 2818 | + $dstat =~ s/\[[^\[\]]*\]/1/) | |
| 2819 | 2819 | { |
| 2820 | 2820 | } |
| 2821 | 2821 | |