Skip to content

RFC checkpatch: Test bad UTF-8 encodings and updates to MAINTAINERS

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5checkpatch: add a check for utf-8 in commit logsscripts/checkpatch.pl+26 -43 replies
2/5checkpatch: check utf-8 content from a commit log when it's missing from charsetscripts/checkpatch.pl+11 -21 reply
3/5checkpatch: ignore email headers betterscripts/checkpatch.pl+3 -21 reply
4/5checkpatch: emit a reminder about MAINTAINERS on file add/move/deletescripts/checkpatch.pl+12 -11 reply
5/5checkpatch: reduce MAINTAINERS update message frequencyscripts/checkpatch.pl+6 -04 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndy WhitcroftStefan Hajnoczi
1/5
2/5R-b
3/5R-b
4/5A-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/5] checkpatch: Test bad UTF-8 encodings and updates to MAINTAINERS

I recently noticed that the checkpatch.pl script from the Linux kernel nowadays issues a warning if you try to add, delete or move a file without updating the MAINTAINERS file in the same turn, too. Since we are also struggling with keeping the MAINTAINERS file of QEMU up to date, it might be useful to have this feature in QEMU's checkpatch.pl, too. So here is a port the upstream patches to our version of checkpatch, including some patches to check for invalid utf-8 in the commit message (which were a prerequisite to the MAINTAINERS patches due to the $in_commit_log variable that is introduced there).

Thomas Huth (5):
checkpatch: add a check for utf-8 in commit logs
checkpatch: check utf-8 content from a commit log when it's missing
from charset
checkpatch: ignore email headers better
checkpatch: emit a reminder about MAINTAINERS on file add/move/delete
checkpatch: reduce MAINTAINERS update message frequency

 scripts/checkpatch.pl | 57 +++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 53 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.1