Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1855827ybn; Thu, 26 Sep 2019 03:16:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxth0st2fZ44GVq25HvQUEFPyPMHhDSfCTj84+d+lCp7vfcXxizltrwzLIz8naNoG2I+/GR X-Received: by 2002:a17:906:e251:: with SMTP id gq17mr2301087ejb.85.1569492989369; Thu, 26 Sep 2019 03:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569492989; cv=none; d=google.com; s=arc-20160816; b=LdReIeRHJ2dbTOx4QO70/gIPstpDvjTG+JdtNbqCPnnSKlxi5gIZ23p8D29pFaVp6P 2YrnSTlgt/b/V3N5TO+p8GUXpdJASPBF69Dp9P4eiQK6Xk2IJR9WvCyV/BASf1trnq1B t0Z2Ms9kNzmruSY8Ivx/AINzJRAJ5OGc49WJC+rNl+XLc4aSDuDBN78MGqQD+JSTj1HA Xv/QMKHkIrZidMbIBwZYVU1nrammQ1Pp4gN4VRiAub8ADpPJrunsfYW01qoH1wUSGb95 756rQffsnF+jQL08GMtMmg+NQekrb3dapMklpmzzOndz5o3nrkYvkSdyh+qQYri5YvrP v+5A== 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=D+VF7g18brukFNr5LUZXeBvIVeDzH1uc1ougQONkZAc=; b=jjyt4/znB4/F6GGLMZa3raF8pp+Gx2sr82eOswLfJsdaEhJfd0SK9Uq4P/yYWhPaWc zlGIbKKocbfwsLdgdK9F/sx1JUOVzqD4d9XRaPcggITf3YAfRAA2rMpQY58ZSvGwkUEr jeVv9rRkV+zlVEJ64oqz+0oT9od4bd7z6kjwpBJsgt7FS1/kh0BnnZzuW2k7rwUyvl9A qLxwJzD9zMbYC+VD/Bwix0+PqqXjDpDsGWwru2embanG70eMWumfgJjAEP+J6Z2KxqUn 5CNpWDiW+EKd6EqU9r9PvU/FPhpveDTGL5K65Pxu1DnDOu9Zu1U55eFBy6kIel7z4mfk jUmg== 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 j2si985687edp.114.2019.09.26.03.16.06; Thu, 26 Sep 2019 03:16:29 -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 S2388711AbfIZB10 (ORCPT + 99 others); Wed, 25 Sep 2019 21:27:26 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:43382 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726707AbfIZB10 (ORCPT ); Wed, 25 Sep 2019 21:27:26 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 18EF625132B84FCB9BB5; Thu, 26 Sep 2019 09:27:25 +0800 (CST) Received: from [127.0.0.1] (10.177.251.225) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Thu, 26 Sep 2019 09:27:21 +0800 To: Joe Perches , , , Andrew Morton CC: "linux-kernel@vger.kernel.org" From: Yunfeng Ye Subject: [PATCH v2] scripts: Move ipc/ to kernel/ipc/: don't check the ipc dir Message-ID: Date: Thu, 26 Sep 2019 09:26:49 +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 --- v1 -> v2: - update the subject "scripts:" instead of "toplevel:" 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