Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Checkpatch Processor

Purpose

Checks C source files using the Linux kernel’s checkpatch.pl script.

How It Works

Discovers .c and .h files under src/ (excluding common C/C++ build directories), runs checkpatch.pl on each file, and records success in the cache. A non-zero exit code from checkpatch fails the product.

This processor supports batch mode.

Source Files

  • Input: src/**/*.c, src/**/*.h
  • Output: none (checker)

Configuration

[processor.checkpatch]
args = []
extra_inputs = []
KeyTypeDefaultDescription
argsstring[][]Extra arguments passed to checkpatch.pl
extra_inputsstring[][]Extra files whose changes trigger rebuilds