]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f7b5163c97c0de3eecdf4af0d83f77be3566a94
tree65a2a6d8b3c9d5530f38bba1b1ac852de99a53db
parent601c629d69b65e4e13dd1d9719b592b761bb9917
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