Add more repos to the 'checkpatch.pl' set
Private Exynos u-boot and kernel trees are not being subjected to
checkpatch.pl checks, which results in missing of some coding style
violations (like lines longer than 80 cols, foo* bar vs foo *bar,
etc.)
Since these checks are not controlled by top level PRESUBMIT.cfg files
(which is unfortunate), an actual code change is required.
BUG=none
TEST=manual
. tried 'repo upload' an Exynos u-boot source change with code
violations, it was passing before, and is rejected now.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Change-Id: I883f49cc065a66c54ecb5a522a1b727e3858ce9f
Reviewed-on: https://gerrit.chromium.org/gerrit/50221
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Ryan Cui <rcui@chromium.org>
diff --git a/pre-upload.py b/pre-upload.py
index c2b2a7f..851101a 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -493,8 +493,11 @@
"chromiumos/third_party/kernel": [_run_checkpatch, _kernel_configcheck],
"chromiumos/third_party/kernel-next": [_run_checkpatch,
_kernel_configcheck],
+ "chromeos/vendor/kernel-exynos-staging": [_run_checkpatch,
+ _kernel_configcheck],
"chromiumos/third_party/u-boot": [_run_checkpatch_no_tree,
_check_change_has_branch_field],
+ "chromeos/vendor/u-boot-exynos": [_run_checkpatch_no_tree],
"chromiumos/platform/ec": [_run_checkpatch_no_tree,
_check_change_has_branch_field],
"chromeos/platform/ec-private": [_run_checkpatch_no_tree,