Skip to contentSkip to conversation

Problem with checkpatch.pl (commit f5f613259f3f ("checkpatch: allow not using -f with files that are in git"))

DISCUSSION Christophe Leroy 2 participants 2 messages Oct 22, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Christophe Leroy

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]/