checkpatch: make utf-8 test --strict
authorJoe Perches <joe@perches.com>
Tue, 26 Jul 2011 00:13:26 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:16 +0000 (20:57 -0700)
commit34d99219726ff4d3425b360d1e8d081627a73a00
tree30d9d2c477c984d7be0aa13dc93c19189649e7f1
parent000d1cc1829f938c87402fc2fd4bb5e8daed6b52
checkpatch: make utf-8 test --strict

Some patches are sent in using ISO-8859 or even Windows codepage 1252.

Make checkpatch accept these by default and only emit the "Invalid UTF-8"
message when using --strict.

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