From 2b119b380fa165a753831157a5e41f966ae31d92 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 27 Jul 2016 11:56:32 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/15919 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: Stefan Reinauer Reviewed-by: Werner Zeh --- .checkpatch.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .checkpatch.conf (limited to '.checkpatch.conf') 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 -- cgit v1.2.3