From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7AB6C432C2 for ; Thu, 26 Sep 2019 01:27:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A88B421655 for ; Thu, 26 Sep 2019 01:27:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388761AbfIZB11 (ORCPT ); Wed, 25 Sep 2019 21:27:27 -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