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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 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 B478FC5DF60 for ; Fri, 8 Nov 2019 16:22:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8CD9021882 for ; Fri, 8 Nov 2019 16:22:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726879AbfKHQWW (ORCPT ); Fri, 8 Nov 2019 11:22:22 -0500 Received: from mx2.suse.de ([195.135.220.15]:55882 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726039AbfKHQWW (ORCPT ); Fri, 8 Nov 2019 11:22:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 91B07B353; Fri, 8 Nov 2019 16:22:20 +0000 (UTC) Message-ID: <1573230479.5838.7.camel@suse.cz> Subject: Re: [PATCH] checkpatch: remove "ipc" from list of expected toplevel directories From: Giovanni Gherdovich To: Joe Perches , Andy Whitcroft Cc: Andrew Morton , linux-kernel@vger.kernel.org Date: Fri, 08 Nov 2019 17:27:59 +0100 In-Reply-To: <20191108160428.9632-1-ggherdovich@suse.cz> References: <20191108160428.9632-1-ggherdovich@suse.cz> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 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 Fri, 2019-11-08 at 17:04 +0100, Giovanni Gherdovich wrote: > checkpatch.pl uses a list of expected directory names to understand if it's > being run from the top of a kernel tree. Commit 76128326f97c ("toplevel: > Move ipc/ to kernel/ipc/: move the files") removed a toplevel directory, so > checkpatch.pl need to update its list. > > Signed-off-by: Giovanni Gherdovich > --- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 6fcc66afb088..93b8fd1eea57 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -1099,7 +1099,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) { Nope, this was already fixed by Yunfeng Ye with https://lore.kernel.org/lkml/bd70558e-5126-6460-81d7-edf72cbbce7a@huawei.com/ plus the ipc/ directory is now back in its place. Sorry for the noise, Giovanni