]> git.baikalelectronics.ru Git - uboot.git/commit
patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 19 Dec 2022 22:32:40 +0000 (17:32 -0500)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 02:21:57 +0000 (19:21 -0700)
commitbef8df75e4ef184dda6a938e1e6f57bfa61b2db7
tree29b07954f7b19102c43cbd103d501a2c880797d5
parent35be369e1060271494dd1ad32637869b6d98bd05
patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

This resolves 10 out of 11 test failures seen when running './patman
test' from the 'tools/patman' subdirectory. This was caused by the
.checkpatch.conf configuration file at the root of the project not
being picked up. Make the test suite of patman independent from it by
always invoking the checkpatch.pl script with the minimally required
arguments for the test suite to pass.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
tools/patman/checkpatch.py