Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp2737932pxu; Sun, 18 Oct 2020 13:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbwAEMI/VMBES/j0E1KqvR4M/oQByvmTqtvaomgmavKZrEdr8DkG6hxs6YtZXCs7Px4HKh X-Received: by 2002:a17:906:7fd7:: with SMTP id r23mr13671195ejs.310.1603053269012; Sun, 18 Oct 2020 13:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603053269; cv=none; d=google.com; s=arc-20160816; b=dzBnbtVrebtRUnfELtVz/POJ0lnHFjP71OmO7C/l3C1wZvVk1geOrdNZdkpoGIjq2C yhZ2TELbu/cKtJfp138uyyAKra0jzDk6FT8XO9WeVWNTCa0QHoNwongm5QT2S8TW22F9 CPfooLbW8FPXn4MGJOHkIQ1AW1StkJGfzKMkIrCDRCmIxNawfEv1A2rpLfyfEpppwHNF TTukP7DSDeLAnoxnhSactned4h6cReVC7Np67Tc7UqSCZAcrP3wPDJMwsQUjHpxY+676 +xhr+3mowUaVTB8JapJm+gk6uRdVnhD93XpgsHBMTwLoWbMcwbR377aXYB021FdIfl8C 7SWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=89kIWNFiY1QF3EKAoJ8e/0mKru13GOrTdangVVxD42Q=; b=gcT5fyAieDFAPX3OzO2gwmmMhSbkzCbdIt2puYGYiop5bverZl6YCuZpr+cINVyCAf erdS+fM9pSEXkF5Tbb48gb4g0xP6lUjCL8OHWln9lejN9442AaFSNHnZy9tfRYEjI+rb ZYJnXY3P8Ly89NE2SFM05I1skGzi5/6tWvzg3jMlA73zEJ+hjMjWtyTJz8Hib+Yx7Hio rFHJ8Qjy0dBcEmWEQjrPA27/YyvGCwtMLfQth3M9IObXsfCz4y6+OA/3jhNR2TblaLAX /YjsGHo3zbpMGUyGgxCoW0Da59rH4kL4ic6HO4++pazMN38w87lRBh/Cy5jiG0IRx2ux wlgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si6612693edr.349.2020.10.18.13.34.06; Sun, 18 Oct 2020 13:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727291AbgJRS1C (ORCPT + 99 others); Sun, 18 Oct 2020 14:27:02 -0400 Received: from smtprelay0035.hostedemail.com ([216.40.44.35]:40318 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727094AbgJRS1C (ORCPT ); Sun, 18 Oct 2020 14:27:02 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 6B0E9837F24A; Sun, 18 Oct 2020 18:27:01 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 90,9,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:334:355:368:369:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2691:2828:2902:3138:3139:3140:3141:3142:3353:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6248:7903:7974:10004:10400:10848:11232:11289:11658:11914:12043:12297:12438:12555:12740:12760:12895:13069:13161:13229:13311:13357:13439:14096:14097:14180:14181:14659:14721:14777:21060:21080:21325:21365:21433:21451:21627:21740:21741:21819:21939:30022:30029:30054:30089:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: dad38_590e2f027230 X-Filterd-Recvd-Size: 2921 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA; Sun, 18 Oct 2020 18:27:00 +0000 (UTC) Message-ID: <3d9ef962b7007308a538e42375adf09d058ee8ab.camel@perches.com> Subject: Re: [PATCH] checkpatch: Allow not using -f with files that are in git From: Joe Perches To: Geert Uytterhoeven Cc: Linus Torvalds , Andrew Morton , Andy Whitcroft , LKML Date: Sun, 18 Oct 2020 11:26:59 -0700 In-Reply-To: References: <45b81a48e1568bd0126a96f5046eb7aaae9b83c9.camel@perches.com> 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 Sun, 2020-10-18 at 20:15 +0200, Geert Uytterhoeven wrote: > Hi Joe, rehi Geert > On Sun, Oct 18, 2020 at 6:07 PM Joe Perches wrote: > > On Sun, 2020-10-18 at 16:03 +0200, Geert Uytterhoeven wrote: [] > > > This is now commit f5f613259f3fea81 ("checkpatch: allow not using -f > > > with files that are in git"), causing: > > > > > > 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. [] > > I believe there is a dependency on another patch > > in -next that wasn't pushed to Linus' tree. > > > > commit 5ec1f7de97b26a3fa364bbb31fdd2e42c8e6fa22 > > Author: Joe Perches > > Date: Thu Oct 8 11:53:44 2020 +1100 > > > > checkpatch: test $GIT_DIR changes > > > > So it'd be better to revert right now until > > this other patch is accepted or pushed. > > Thanks, after cherry-picking that one from next, checkpatch works again. > However, there are some issues with that commit: > 1. ERROR: Missing Signed-off-by: line by nominal patch author 'Joe > Perches ', > 2. The Link: is bogus, and gives 404. I generally create patches against -next. The above commit was a test patch for Andrew who had some inconvenience because he doesn't generally use git or has a git repo in some non-standard path. I believe it works well enough to be OK, but I didn't test it and don't have the same setup. I'll post it again as a reply to this email with a with a sign-off and a better commit description and Linus/Andrew can decide if it's better to revert f5f613259f3f or apply it separately.