[LTP] checkpatch: Pass git root
Petr Vorel
pvorel@suse.cz
Wed May 27 09:37:49 CEST 2026
Hi Andrea,
> 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)
The original patch is:
-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)
https://lists.linux.it/pipermail/ltp/2026-May/048397.html
https://lore.kernel.org/ltp/20260513134948.77923-1-pvorel@suse.cz/
https://patchwork.ozlabs.org/project/ltp/patch/20260513134948.77923-1-pvorel@suse.cz/
> > 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?
This is really funny. Interesting variant of hallucination. AI just added space
and pointed it out as my error.
Anyway, patch merged, no modification was needed. Thanks for your review.
Kind regards,
Petr
More information about the ltp
mailing list