[PATCH v2 3/8] patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

Simon Glass sjg at chromium.org
Mon Dec 19 20:20:46 CET 2022


On Mon, 19 Dec 2022 at 07:53, Maxim Cournoyer <maxim.cournoyer at gmail.com> wrote:
>
> 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 independant from it by

independent

> always invoking the checkpatch.pl script with the minimally required
> arguments for the test suite to pass.
>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer at savoirfairelinux.com>
> ---
>
> Changes in v2:
> - Reword the commit message with a better explanation of the problem
> - Add the '--strict' argument to script invocation
>
>  tools/patman/checkpatch.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list