[LTP] [PATCH] .b4-config: Add checkpatch.pl default commands

Andrea Cervesato andrea.cervesato@suse.com
Wed Jan 15 12:08:42 CET 2025


Hi,

pushed with FILE_PATH_CHANGES in the ignore list.

Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>

Andrea

On 1/14/25 23:43, Ricardo B. Marliere via ltp wrote:
> From: Ricardo B. Marliere <rbm@suse.com>
>
> Blend b4 default checkpatch.pl flags with the ones defined in
> include/mk/env_post.mk in .b4-config so that a contributor may use `b4 prep
> --check` and `b4 am --check` in his workflow.
>
> Signed-off-by: Ricardo B. Marliere <rbm@suse.com>
> ---
>   .b4-config | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/.b4-config b/.b4-config
> index 2efdf2273240dcf57bd5cab174ff6c7a1952dd5b..5a16bd64ec98b91e17386c0eadc7ef0de54d86f3 100644
> --- a/.b4-config
> +++ b/.b4-config
> @@ -4,3 +4,6 @@
>       send-series-to = Linux Test Project <ltp@lists.linux.it>
>       pw-url = https://patchwork.ozlabs.org/
>       pw-project = ltp
> +    prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --terse --no-summary --mailback --showfile --no-tree --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING
> +    am-perpatch-check-cmd = ./scripts/checkpatch.pl -q --terse --no-summary --mailback --no-tree --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING
> +
>
> ---
> base-commit: 6fe8aa186559784f0394cd449cba6c53342790ec
> change-id: 20250114-fix_b4-config-1ab84320000a
>
> Best regards,


More information about the ltp mailing list