summaryrefslogtreecommitdiff
path: root/.checkpatch.conf
AgeCommit message (Collapse)Author
2018-01-26Analyze coding style of patches individuallyAntonio Nino Diaz
With the old system `checkpatch.pl` gets one sole input that consists on the commit message and commit diff of each commit between BASE_COMMIT and HEAD. It also filters out changes in some files, which makes `git format-patch` completely ignore that commit, even the commit message. With the new system the commit message and commit diff are analyzed separately. This means that, even if all the files modified by a commit are filtered out, the commit message will still be analyzed. Also, all commits are analyzed individually. This way it's easier to know which commit caused the problem, and there are no warnings about repeated "Signed-off-by" lines. Change-Id: I1f8e141772e8d58d9b75d4747c82023ef30e6652 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2016-07-29checkpatch: Allow new typedefs and volatile keywordSandrine Bailleux
Update checkpatch configuration file to ignore new typedefs and uses of the 'volatile' keyword. Change-Id: I849dc6a29e78f93cc3cbb17b9a900ecbb34ca6ae
2016-04-04Move checkpatch options in a configuration fileSandrine Bailleux
At the moment, the top Makefile specifies the options to pass to the checkpatch script in order to check the coding style. The checkpatch script also supports reading its options from a configuration file rather than from the command line. This patch makes use of this feature and moves the checkpatch options out of the Makefile. This simplifies the Makefile and makes things clearer. This patch also adds a couple of checkpatch options: --showfile --ignore FILE_PATH_CHANGES --ignore AVOID_EXTERNS The rationale behind each of these options has been documented in the configuration file. Change-Id: I0b0fcb58b039c3ae8b80fce74ebca821a650bf54