mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: checkpatch.conf: Update rules
- Remove the "MISSING_SPACE" check which checks for breaks at a space in
a string concatenation. Most of the time this makes sense, but we
occasionally need to break where there isn't a space, so having a hard
rule doesn't always work.
- Don't check the vendorcode directory for compliance to coreboot's
code format rules.
BUG=none
BRANCH=none
TEST=none
Change-Id: If6648109dac8e91066f03e8d3c733db2f239b978
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 2e17eaed1b
Original-Change-Id: Ic07677b19520b5d22363834c77f5dee7bba9e429
Original-Signed-off-by: Martin Roth <martinroth@google.com>
Original-Reviewed-on: https://review.coreboot.org/18569
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/452365
This commit is contained in:
parent
7873f99314
commit
89a3dc4f7d
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
--ignore AVOID_EXTERNS
|
--ignore AVOID_EXTERNS
|
||||||
--ignore VOLATILE
|
--ignore VOLATILE
|
||||||
--ignore CONFIG_DESCRIPTION
|
--ignore CONFIG_DESCRIPTION
|
||||||
|
--ignore MISSING_SPACE
|
||||||
|
|
||||||
# FILE_PATH_CHANGES seems to not be working correctly. It will
|
# FILE_PATH_CHANGES seems to not be working correctly. It will
|
||||||
# choke on added / deleted files even if the MAINTAINERS file
|
# choke on added / deleted files even if the MAINTAINERS file
|
||||||
|
@ -24,3 +25,7 @@
|
||||||
# This one has a linux path hard coded, so it would choke on
|
# This one has a linux path hard coded, so it would choke on
|
||||||
# some commits unnecessarily.
|
# some commits unnecessarily.
|
||||||
--ignore EXECUTE_PERMISSIONS
|
--ignore EXECUTE_PERMISSIONS
|
||||||
|
|
||||||
|
# Exclude the vendorcode directory
|
||||||
|
--exclude src/vendorcode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue