Documentation: Coccinelle: Checking information around the make parameter âC=2â
From: Markus Elfring
Date: Fri Jul 03 2020 - 15:22:29 EST
Hello,
I have taken another look also at places from two information sources.
A)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201
ââ
# Use 'make C=1' to enable checking of only re-compiled files.
# Use 'make C=2' to enable checking of *all* source files, regardless
# of whether they are re-compiled or not.
ââ
B)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/dev-tools/coccinelle.rst?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n182
ââ
To check only newly edited code, use the value 2 for the C flag, i.e.::
ââ
How good do these description variants fit together?
Regards,
Markus