Files
scst/scripts/policy/checkpatch.json
T
Gleb Chesnokov 704c44dabe scripts: Add whole-file Checkpatch analysis
Expose make checkpatch through the common C source/header policy,
including userspace and KUnit sources. DIFFBR selects whole changed
files. Use the kernel's Checkpatch and companion data with --strict,
without adding diagnostic exceptions or loading local configuration.

Retain raw output and require native totals and a completion record
for every selected file. Distinguish source findings from unreadable
inputs, inconsistent reports and tool failures, with isolated fixtures.
Keep native caches in a temporary directory and serialize only this
analyzer's reports so it can run alongside the Kbuild analyzers.

Make checkpatch_scan use this target's implementation and exit status
instead of suppressing errors. Preserve the separate existing policy
of patch/commit helpers and the kernel regression runner.
2026-10-20 14:16:08 +03:00

10 lines
344 B
JSON

{
"version": 1,
"notes": [
"Check whole C files and headers with native Checkpatch --strict.",
"Include userspace and KUnit sources through the common input policy.",
"No diagnostic exceptions, ignored types or local Checkpatch configuration.",
"Legacy patch and commit helpers retain their separate existing policy."
]
}