From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01ED5C388F7 for ; Thu, 22 Oct 2020 14:37:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 987A924182 for ; Thu, 22 Oct 2020 14:37:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2900961AbgJVOhZ (ORCPT ); Thu, 22 Oct 2020 10:37:25 -0400 Received: from smtprelay0037.hostedemail.com ([216.40.44.37]:42194 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2507890AbgJVOhZ (ORCPT ); Thu, 22 Oct 2020 10:37:25 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 14B69181D302B; Thu, 22 Oct 2020 14:37:24 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: look79_060935127251 X-Filterd-Recvd-Size: 1588 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Thu, 22 Oct 2020 14:37:22 +0000 (UTC) Message-ID: Subject: Re: Problem with checkpatch.pl (commit f5f613259f3f ("checkpatch: allow not using -f with files that are in git")) From: Joe Perches To: Christophe Leroy Cc: "linux-kernel@vger.kernel.org" , Julia Lawall , Andrew Morton Date: Thu, 22 Oct 2020 07:37:21 -0700 In-Reply-To: <82054b17-292d-3b3d-e95c-9abe7fa0c444@csgroup.eu> References: <82054b17-292d-3b3d-e95c-9abe7fa0c444@csgroup.eu> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/c5e23b45562373d632fccb8bc04e563abba4dd1d.camel@perches.com/