Skip to content

checkpatch: backport UTF-8 fixes and MAINTAINERS check

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesApplied
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Resolve missing CHK() [Thomas]
* Drop first argument to WARN() to match QEMU function arguments

Patches in v2 Applied

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

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas HuthAndy WhitcroftMarkus Armbruster
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b A-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] checkpatch: backport UTF-8 fixes and MAINTAINERS check

v2:
* Resolve missing CHK() [Thomas]
* Drop first argument to WARN() to match QEMU function arguments

This series cherry picks checkpatch UTF-8 fixes and the MAINTAINERS file check from Linux. Thomas Huth original did the backport in January 2017 but the series was forgotten (<[email protected]>). I did the cherry pick again from scratch.

The MAINTAINERS file check prints a warning when new files are added without a modification to ./MAINTAINERS. It is easy to forget to update ./MAINTAINERS and this check should help us stay on top of new source files.

Joe Perches (4):
checkpatch: add a --strict check for utf-8 in commit logs
checkpatch: ignore email headers better
checkpatch: emit a warning on file add/move/delete
checkpatch: reduce MAINTAINERS update message frequency

Pasi Savanainen (1):
checkpatch: check utf-8 content from a commit log when it's missing
from charset

 scripts/checkpatch.pl | 56 +++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 52 insertions(+), 4 deletions(-)
Signature · 1 line
2.14.3