X-GM-THRID: 6885043430736527360 Date: Sun, 18 Oct 2020 12:24:53 -0700 (PDT) From: Izabela Bakollari To: outreachy-kernel Message-Id: <935594dd-9aaa-4fe6-8200-9ddcb2c7eb8dn@googlegroups.com> Subject: Need help with checkpatch.pl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1802_2003328497.1603049093153" ------=_Part_1802_2003328497.1603049093153 Content-Type: multipart/alternative; boundary="----=_Part_1803_534927578.1603049093153" ------=_Part_1803_534927578.1603049093153 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, When I run checkpatch.pl, I come across an error message. perl scripts/checkpatch.pl -f drivers/staging/wfx/* | less Checkpatch.pl is giving me this error: Global symbol "$gitroot" requires explicit package name (did you forget to declare "my $gitroot"?) at scripts/checkpatch.pl line 980. Execution of scripts/checkpatch.pl aborted due to compilation errors. Can you please tell me if I am missing something? Thank you, Izabela ------=_Part_1803_534927578.1603049093153 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi,

When  I run checkpatch.pl, I come across an error message.

perl scripts/checkpatch.pl -f drivers/staging/wfx/* | less

Checkpatch.pl is giving me this error:

Global symbol "$gitroot" requires explicit package name (did you forget to declare "my $gitroot"?) at scripts/checkpatch.pl line 980.
Execution of scripts/checkpatch.pl aborted due to compilation errors.

Can you please tell me if I am missing something?

Thank you,
Izabela
------=_Part_1803_534927578.1603049093153-- ------=_Part_1802_2003328497.1603049093153--