mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
The newest checkpatch version now flags code such as int i; for (i = 0; ... because there is no blank line between a declaration and the next statement. We have always allowed variable declarations inline with the code in coreboot and libpayload, so this doesn't make much sense for us. Add it to the ignore list. BRANCH=None BUG=None TEST=None Change-Id: I865d69ccdd30e89083cfee5ca9c2332bfc6c1970 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/341513 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/346297 Reviewed-by: Aaron Durbin <adurbin@google.com> Commit-Queue: Martin Roth <martinroth@chromium.org> Trybot-Ready: Martin Roth <martinroth@chromium.org> Tested-by: Martin Roth <martinroth@chromium.org>
16 lines
414 B
Text
16 lines
414 B
Text
# 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
|