]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: update signature "might be better as" warning
authorJoe Perches <joe@perches.com>
Fri, 16 Dec 2011 04:50:15 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:20 +0000 (17:01 +1100)
commit5c25f4a2c826b2554b4eac449b3493bf534f3fdd
tree257d40da5511cbfa2edf1232af93444036e3f804
parent3f49624bb50708020df1ad2fa531adc4d741b956
checkpatch: update signature "might be better as" warning

email header lines can look like signature tags.  It's valid to have
multiple email recipients on a single line but not valid to have multiple
signatures on a single line.

Validate signatures only when not in the email headers.

Clear the $in_commit_log flag when the patch filename appears.

Add '-' to the valid chars in a message header for headers
like "Message-Id:" and "In-Reply-To:".

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl