On Thu, 2020-10-22 at 15:59 +0200, Christophe Leroy wrote:
> Hi,
>
> Runnning ./scripts/checkpatch.pl -g HEAD, I get the following error:
>
> Global symbol "$gitroot" requires explicit package name at
> ./scripts/checkpatch.pl line 980.
> Execution of ./scripts/checkpatch.pl aborted due to compilation errors.
>
> Reverting commit f5f613259f3f ("checkpatch: allow not using -f with files
> that are in git") clears
> the problem.
>
> Christophe
Thanks for the report.
The problem depended on another patch in -next
that was not send.
https://lore.kernel.org/lkml/[email protected]/