checkpatch: ignore email headers better
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:10:35 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:27 +0000 (18:01 -0700)
commit29ee1b0c67e0dd7dea8dd718e8326076bce5b6fe
tree65a2a6d8b3c9d5530f38bba1b1ac852de99a53db
parent5a4e1fd37d0677755391e2e89e9386e072265157
checkpatch: ignore email headers better

There are some patches created by git format-patch that when scanned by
checkpatch report errors on lines like

To: address.tld

This is a checkpatch false positive.

Improve the logic a bit to ignore folded email headers to avoid emitting
these messages.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl