Files
qemu-reims-vgpu/scripts
Cédric Le Goater 910e1d41be scripts/checkpatch: validate Fixes: tag format and commit ancestry
Adapt the kernel's checkpatch Fixes: tag validation for QEMU.

Add a git_commit_info() helper to resolve commit hashes and validate
the Fixes: tag in commit messages. The canonical form is:

  Fixes: <12+ chars of sha1> ("<title line>")

The check validates capitalization, spacing, hash length, lowercase
hex, and quoted title. When the format is wrong and the commit can
be resolved, suggest the corrected Fixes: line.

When running inside a git repository, also verify that the referenced
commit is an ancestor of master.

Lines matching "Fixes: CVE-*" are skipped. The check can be disabled
with --no-fixes-tag.

Link: https://lore.kernel.org/qemu-devel/20260806171333.328864-1-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2026-10-15 13:15:24 +02:00
..
2026-07-13 17:13:11 +01:00
2023-09-08 13:08:52 +03:00
2026-08-20 09:24:57 +02:00
2026-05-05 13:53:03 +02:00
2026-08-20 09:24:57 +02:00
2026-04-30 17:55:03 +02:00
2026-05-25 02:01:14 +04:00