Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1808824ybn; Thu, 26 Sep 2019 02:31:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNU9EbbvIrq13GU6reL6il+a6Lv2A8XHkbbhxeTcFumkzl0ib5xVU0TyHFJHhhlNU+vEXA X-Received: by 2002:a17:906:20c7:: with SMTP id c7mr2120891ejc.248.1569490308759; Thu, 26 Sep 2019 02:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490308; cv=none; d=google.com; s=arc-20160816; b=P49gWGuwU+6v8lYh7ywl9tocvFbXSqf3SUwex/+xYomMOA0SFaT1ajr+n4FrgJha09 aq0HWm2PAa4VXwRwFdkJ/yWGKcDEbjlLu7O6VHNlbImdDuTBW/vlJG9uVyWG8760c86K 9N0XC38GjaDVBq6RmeL9ufZ8GmaFUDMZn2XHYuOxXBrlbn4K8ijqmIVH9ppIQmE5TG49 c3Sf6Jwb3xbTYWIW7ENNFwt6GxOui6Ic3R4bRN4Do0y4Pj+y3YjHSYAJAAnVVive9obu wupjFrvO+bn5Eq6g5+sgUoFymvPGlwBkYp7v27PDoFrqwCUBGpOuaNBGWubWjp2lXkQs od6w== 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:mime-version:user-agent:date:message-id:subject :from:cc:to; bh=seX/j2rd/quUloPWzH+KFRKD0xe18dX/n0QW9JqCfKU=; b=Fz6N2fR1s/sgFxBRYKVmmBLvPLKsyik493d3ONHpPpI3SxIWC8fXHFR1/JHggNrWwf h4uCW6oUtoIS12USpeme+ZcFsr0pCKE77QaNhb2bSgYSHHav9CHu56u+fAEwe5HK/GXW 88LCEKzOT4UbS+UsQSYZxVYRXg0tWGYHLoEk+IWVYkVFKutQHVZwgtrPieKevcaIAfqV tT9/8Hy7J98GIfemOcumLzgkkgPHYa6EABggs130Rm1WooLchppcc7svE7Fu0P/I0IQq Hemi/TEIfwz+K5C2EFqECThEsylMx31t+2sK8MnptF4YPiMWSpzoEZQal4sLUSIuAFXa rltw== 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 f21si975541eda.216.2019.09.26.02.31.25; Thu, 26 Sep 2019 02:31:48 -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 S1732193AbfIYMhk (ORCPT + 99 others); Wed, 25 Sep 2019 08:37:40 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:57258 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726369AbfIYMhk (ORCPT ); Wed, 25 Sep 2019 08:37:40 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 79294FA05F0609B81877; Wed, 25 Sep 2019 20:37:38 +0800 (CST) Received: from [127.0.0.1] (10.177.251.225) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 25 Sep 2019 20:37:37 +0800 To: , , CC: "linux-kernel@vger.kernel.org" From: Yunfeng Ye Subject: [PATCH] toplevel: Move ipc/ to kernel/ipc/: don't check the ipc dir Message-ID: <04acff22-430b-9ed7-f700-b644c0632cdd@huawei.com> Date: Wed, 25 Sep 2019 20:37:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 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 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. 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")) { -- 2.7.4