diff options
author | Martin Roth <martinroth@chromium.org> | 2016-07-27 11:56:32 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-07-28 20:16:25 +0200 |
commit | 2b119b380fa165a753831157a5e41f966ae31d92 (patch) | |
tree | 698cfd96d69bfa4ca7ea2f5bb7db440419a565d9 | |
parent | cd9e1e423f1cf0cf6b38ce51d21e78fc14e9818b (diff) |
checkpatch: add .checkpatch.conf
Try to make checkpatch a little friendlier to the coreboot project.
This is the checkpatch .conf from the Chrome OS tree.
Change-Id: Ie45d5c93f97bd58f3ea31341b47c4ee2a8f02b1e
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://review.coreboot.org/15919
Tested-by: build bot (Jenkins)
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r-- | .checkpatch.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000000..4b88745ba2 --- /dev/null +++ b/.checkpatch.conf @@ -0,0 +1,16 @@ +# Not Linux, so don't expect a Linux tree. +--no-tree + +# Require every Kconfig symbol to have at least two lines in their description. +--min-conf-desc-length=2 + +# Ignore aspects we don't follow here. +--ignore C99_COMMENTS +--ignore GLOBAL_INITIALISERS +--ignore INITIALISED_STATIC +--ignore LINE_SPACING +--ignore NEW_TYPEDEFS +--ignore PREFER_ALIGNED +--ignore PREFER_PACKED +--ignore PREFER_PRINTF +--ignore SPLIT_STRING |