Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1821371ybn; Thu, 26 Sep 2019 02:44:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFfD7DipaT2Gqsjt4CMN10hEFKTqwLGR5ivEJEcosSXleVa2eVBalrv4i1kanR+xokyMtH X-Received: by 2002:a17:907:411d:: with SMTP id nw21mr2191247ejb.8.1569491079908; Thu, 26 Sep 2019 02:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491079; cv=none; d=google.com; s=arc-20160816; b=OjQ+f6Gc8t6KfJlRJieBwNmR4/F3QcAHKsz3vTq779EO4L1jbn+b64Ws5d6H2vIBik Y0FjLu6CbaX6vrKmp0tkRhoqSI5grsGCyyNxLq7znqaykBKt+TYbj5OQ8INoB4hSZksD mI9hyrPYuHAuapei+dICEAu3DnkQlAPR4zAE9z0x/eB1TPM4uUIalCC68mGD6e87fvvk ycypDnsAWi3exqipJbEosiGKU4+tur6kR3FujmAdbBh9grqQzlySvi4BLH0XUZOqw8Me SyciNQGufLYE7W0s1EysmOa2ehrPx2v5U+hDKdolfwHrtG1sDhSqyN5MZSXKl+oBg3aI tJeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=LK1ZUJeJqcfFR2cXHZH8wumcbNw6q/Btx5vTlq1RCuE=; b=j5xzDOWsNtAS6FXrDvo1P7idTnTHT2cuRvH5weSnB+v4aWRpzrf5ME8eTG3zsjxYpw /tTxZZMHxJkZ/wU8QTTtqS3adPi5Rqb9FrXuge/yEw1DxeMTwgvPUWysXRbzv810vNrs kawqDKk/WgWruwROt9nSuijyPnmKtPrOVVLswrv+SXM+sv76Mr/c2+Vg2aF4uJM9Rmxa tVE3biNIW6dsljrBS4XJFQK8hkPnCyIJCcWMJ/jwbPHGWcsVl6nSCBorboWJeGe+2DDE cn8+J2aes+L6Q1DbOp9eGLvLXB23Lz4L2uySfvw63plfcfrUMKr62lwjHC1PEIYRTlGk dOXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si1035523edk.115.2019.09.26.02.44.16; Thu, 26 Sep 2019 02:44:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388802AbfIYQcn (ORCPT + 99 others); Wed, 25 Sep 2019 12:32:43 -0400 Received: from smtprelay0118.hostedemail.com ([216.40.44.118]:56453 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387859AbfIYQcn (ORCPT ); Wed, 25 Sep 2019 12:32:43 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 6901140CD; Wed, 25 Sep 2019 16:32:41 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:599:800:960:973:979:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1560:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3653:3865:3866:3867:3868:3870:3872:4321:4362:4383:5007:7903:10004:10400:10848:11026:11232:11658:11914:12048:12050:12296:12297:12555:12740:12760:12895:12986:13069:13095:13311:13357:13439:14093:14096:14097:14181:14659:14721:21063:21080:21433:21450:21451:21627:30054:30070:30091,0,RBL:220.255.137.117:@perches.com:.lbl8.mailshell.net-62.14.204.186 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:33,LUA_SUMMARY:none X-HE-Tag: slip39_1708dbe400e22 X-Filterd-Recvd-Size: 2685 Received: from XPS-9350 (bb220-255-137-117.singnet.com.sg [220.255.137.117]) (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA; Wed, 25 Sep 2019 16:32:37 +0000 (UTC) Message-ID: Subject: Re: [PATCH] toplevel: Move ipc/ to kernel/ipc/: don't check the ipc dir From: Joe Perches To: Yunfeng Ye , apw@canonical.com, mingo@kernel.org, Andrew Morton Cc: "linux-kernel@vger.kernel.org" Date: Wed, 25 Sep 2019 09:32:33 -0700 In-Reply-To: <04acff22-430b-9ed7-f700-b644c0632cdd@huawei.com> References: <04acff22-430b-9ed7-f700-b644c0632cdd@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-09-25 at 20:37 +0800, Yunfeng Ye wrote: > After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move > the files"), we met some error messages: > > ./scripts/checkpatch.pl: > "Must be run from the top-level dir. of a kernel tree" > > ./scripts/get_maintainer.pl: > "The current directory does not appear to be a linux kernel source tree. > > Don't check the ipc dir in checkpatch.pl and get_maintainer.pl. Thanks. Maybe the commit subject could use "scripts:" or something similar and not "toplevel:". Trivially, it one day it'd be good to use the same routine and output message too. > Signed-off-by: Yunfeng Ye > --- > scripts/checkpatch.pl | 2 +- > scripts/get_maintainer.pl | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 93a7edf..6117d0e 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -1097,7 +1097,7 @@ sub top_of_kernel_tree { > my @tree_check = ( > "COPYING", "CREDITS", "Kbuild", "MAINTAINERS", "Makefile", > "README", "Documentation", "arch", "include", "drivers", > - "fs", "init", "ipc", "kernel", "lib", "scripts", > + "fs", "init", "kernel", "lib", "scripts", > ); > > foreach my $check (@tree_check) { > diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl > index 5ef5921..2e42aeb 100755 > --- a/scripts/get_maintainer.pl > +++ b/scripts/get_maintainer.pl > @@ -1109,7 +1109,6 @@ sub top_of_kernel_tree { > && (-d "${lk_path}drivers") > && (-d "${lk_path}fs") > && (-d "${lk_path}init") > - && (-d "${lk_path}ipc") > && (-d "${lk_path}kernel") > && (-d "${lk_path}lib") > && (-d "${lk_path}scripts")) {