pre-upload: add 'kerneldoc_check' presubmit

kernel-doc script is taken from Linux v4.20-rc1.

Don't enable this by default, and don't enable any files by default,
since we don't know what files a project intends to process. Files
should be added with --include_regex.

TEST=unit tests; run against EC CLs

Change-Id: I7ec829b4c3abbc381c381d7f9a8f348844ca9518
Signed-off-by: Brian Norris <>
Reviewed-by: Ben Chan <>
3 files changed