summaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2018-11-09 13:28:01 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-12 13:55:56 -0800
commit7d03d8557bb3d99ff741478e4417c35a4ca8b8f7 (patch)
tree98f8f67c8f9f3d7fdcec5b55e9407d7db96cb70f /PRESUBMIT.cfg
parentb5a639c0f8614f1885bdc5f74a25fba87137b960 (diff)
downloadchrome-ec-7d03d8557bb3d99ff741478e4417c35a4ca8b8f7.tar.gz
PRESUBMIT: enable kernel-doc check for include/ec_commands.h
ec_commands.h is often synced with the Linux sources, so it's nice to sanity-check it. CQ-DEPEND=CL:1336039 BRANCH=none BUG=chromium:621123 TEST=.../pre-upload.py Change-Id: I56645e613f8689c26ddf6ded1325e270be35da8a Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1330107 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r--PRESUBMIT.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index b9805ac6b8..466f6d1f8f 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -1,6 +1,7 @@
[Hook Overrides]
branch_check: true
checkpatch_check: true
+kerneldoc_check: true
# We are using Linux style indentation with tabs
# The indentation is checked by checkpatch not the python script
@@ -8,6 +9,7 @@ tab_check: false
[Hook Overrides Options]
checkpatch_check: --no-tree --ignore=MSLEEP,VOLATILE,SPDX_LICENSE_TAG
+kerneldoc_check: --include_regex=\bec_commands\.h$
[Hook Scripts]
presubmit_check = util/presubmit_check.sh 2>&1