checkpatch: allow space leading blank lines in email headers
authorJoe Perches <[email protected]>
Mon, 8 May 2017 22:55:42 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:11 +0000 (17:15 -0700)
commiteb3a58de3ec4940fc6b2a9f810895d772a2a9794
tree9d0197fc4f491961218fc66c3cbc3ffb6fa66d47
parent4dbed76f2429516b9519620dacdda6c750640e8d
checkpatch: allow space leading blank lines in email headers

Allow a leading space and otherwise blank link in the email headers as
it can be a line wrapped Spamassassin multiple line string or any other
valid rfc 2822/5322 email header.

The line with space causes checkpatch to erroneously think that it's in
the content body, as opposed to headers and thus flag a mail header as
an unwrapped long comment line.

Link: http://lkml.kernel.org/r/d75a9f0b78b3488078429f4037d9fff3bdfa3b78.1490247180.git.joe@perches.com
Signed-off-by: Joe Perches <[email protected]>Reported-by: Darren Hart (VMware) <[email protected]>
Tested-by: Darren Hart (VMware) <[email protected]>
Reviewed-by: Darren Hart (VMware) <[email protected]>
Original-patch-by: John 'Warthog9' Hawley (VMware) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl