mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
checkpatch: Ignore LINE_SPACING
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>
This commit is contained in:
parent
10351d5c7d
commit
2db8a96ea7
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
--ignore C99_COMMENTS
|
||||
--ignore GLOBAL_INITIALISERS
|
||||
--ignore INITIALISED_STATIC
|
||||
--ignore LINE_SPACING
|
||||
--ignore NEW_TYPEDEFS
|
||||
--ignore PREFER_ALIGNED
|
||||
--ignore PREFER_PACKED
|
||||
|
|
Loading…
Add table
Reference in a new issue