pre-upload: Disable check for MAINTAINERS file in checkpatch
We do not require updates to the MAINTAINERS file, so suppress the
checkpatch.pl warning for it in cases where files are added or moved.
Do this globally for all checkpatch instances (otherwise, we would need
to update all the affected PRESUBMIT.cfg's in all repos.)
TEST=Cherry-picked the patch in https://chromium-review.googlesource.com/#/c/300642/
Changed its change-id and tried to repo upload it again.
Before this commit, I got the warning:
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
With the updated script, I got no warnings and repo upload succeeded.
Signed-off-by: Filipe Brandenburger <firstname.lastname@example.org>
Reviewed-by: Olof Johansson <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed