[LTP] checkpatch: Pass git root

Andrea Cervesato andrea.cervesato@suse.com
Tue May 19 10:56:03 CEST 2026


Hi Petr,

> Hi Petr,
> 
> On Wed, 13 May 2026, Petr Vorel wrote:
> > checkpatch: Pass git root
> 
> > -CHECK_NOFLAGS			?= CHECKPATCH_CONFIG_DIR="$(abs_top_srcdir)" $(abs_top_srcdir)/scripts/checkpatch.pl -f
> > +CHECK_NOFLAGS			?= CHECKPATCH_CONFIG_DIR="$(abs_top_srcdir)" $(abs_top_srcdir)/scripts/checkpatch.pl -f  --root $(abs_top_srcdir)
> 
> Note: there is a double space between `-f` and `--root`; consider collapsing
> to a single space for consistency.
> 

Can you please fix this before merging the patch?
Otherwise LGTM

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

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list