Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1853217ybn; Thu, 26 Sep 2019 03:14:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy14m3fSchM9TynuPAeLrRQVM39THejukuLee4S2FYmMv3BqgegoEVt3n1gA9X/BqV0fPt3 X-Received: by 2002:a17:906:3286:: with SMTP id 6mr2279981ejw.37.1569492849887; Thu, 26 Sep 2019 03:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569492849; cv=none; d=google.com; s=arc-20160816; b=pzM9rVQOu660hBjCvSgRL9dQirRBvE/dwOAQavCtDqc5QO9/Am+k9hPR5qlnrJtBgk zXTOHRSeBzv9sotoeCPloIA/XjL7yfuDbuEWanE10+NF/AuaM0D8G15aruZKrVEXZS3/ hsFJX6Xt8oMLiPG3ngM140gUiBDakN9omKFgo4Grmwq7VtWB+UtJyiwoYGUaWYbgEKw5 ezb6dN0gvJXVd8sNRojuVcKEXwC1jgi2cn3PAbKh3p5l5sBAGiuqOZW0f7xd43RP4ESa UQ/JajcimFQJNOuSJcIr3+E0sNLIQcPSSzm51qvZJ/dS8WJBFBJ7gwkpZCf2QYhK0sKZ 7hsQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=JdmtBs+Wk87CITXF9+BoLJMzG0bnshlbv1PsxhdayFA=; b=h04XqHxZaRYD+BPnNMw4gaFhwcy5KKEd4Tm7nGquYoWsx+uJZcdWlUHUob4C/THjtS rLGwkhccsyWo+aMgIbjE7IIsjht6yWGYkK6/gNB2lQB1PbCAktk8qRx4PDONhE3Qpu6I 7+8aEiMHhR2GoBmVJ8LoPN0TfbS+ToXgyxA4o8zT4mcTM/IPkRfTyYWNt8gyEcSvF9pa 0R7aeb1z8LauIE4H/0zWCGsXi7nS4uJBHspBhxOePmDfu6e+sMycAoS3OJHzT66lmfcj 7k9cvsis+1yEqtrT1himJmMsIswbhij0akeYkxk7YmeA1RVkvagNhX+JGy2SR2fHdFp4 h2oA== 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 c12si1030035edb.394.2019.09.26.03.13.46; Thu, 26 Sep 2019 03:14:09 -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 S1731003AbfIZBTM (ORCPT + 99 others); Wed, 25 Sep 2019 21:19:12 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:35294 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729235AbfIZBTM (ORCPT ); Wed, 25 Sep 2019 21:19:12 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C03CDD88E5095866CD56; Thu, 26 Sep 2019 09:19:10 +0800 (CST) Received: from [127.0.0.1] (10.177.251.225) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Thu, 26 Sep 2019 09:19:06 +0800 Subject: Re: [PATCH] toplevel: Move ipc/ to kernel/ipc/: don't check the ipc dir To: Joe Perches , , , Andrew Morton CC: "linux-kernel@vger.kernel.org" References: <04acff22-430b-9ed7-f700-b644c0632cdd@huawei.com> From: Yunfeng Ye Message-ID: Date: Thu, 26 Sep 2019 09:18:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.251.225] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/9/26 0:32, Joe Perches wrote: > 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:". >The purpose of subject "toplevel" is to maintain consistency with previous modification patches. ok, I will modify it, thanks. > 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")) { > > > . >