Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fee0aa83 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

checkpatch: change blank line after declaration type to "LINE_SPACING"



Make it consistent with the other missing or multiple blank line tests.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 365dd4ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2353,7 +2353,7 @@ sub process {
		      $sline =~ /^\+\s+\(?\s*(?:$Compare|$Assignment|$Operators)/) &&
			# indentation of previous and current line are the same
		    (($prevline =~ /\+(\s+)\S/) && $sline =~ /^\+$1\S/)) {
			WARN("SPACING",
			WARN("LINE_SPACING",
			     "Missing a blank line after declarations\n" . $hereprev);
		}