We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0d0e0 commit 628f91aCopy full SHA for 628f91a
scripts/checkpatch.pl
@@ -2776,6 +2776,17 @@ sub process {
2776
#print "is_start<$is_start> is_end<$is_end> length<$length>\n";
2777
}
2778
2779
+# check for MAINTAINERS entries that don't have the right form
2780
+ if ($realfile =~ /^MAINTAINERS$/ &&
2781
+ $rawline =~ /^\+[A-Z]:/ &&
2782
+ $rawline !~ /^\+[A-Z]:\t\S/) {
2783
+ if (WARN("MAINTAINERS_STYLE",
2784
+ "MAINTAINERS entries use one tab after TYPE:\n" . $herecurr) &&
2785
+ $fix) {
2786
+ $fixed[$fixlinenr] =~ s/^(\+[A-Z]):\s*/$1:\t/;
2787
+ }
2788
2789
+
2790
# discourage the use of boolean for type definition attributes of Kconfig options
2791
if ($realfile =~ /Kconfig/ &&
2792
$line =~ /^\+\s*\bboolean\b/) {
0 commit comments