Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2719734ybx; Fri, 8 Nov 2019 08:23:21 -0800 (PST) X-Google-Smtp-Source: APXvYqx4b9q6oTyCezLalfm4yTyIXFbCFXAV0u3LjAhEXS0ImRdQHm2jhjRjT92GGSHZXSLQxHkR X-Received: by 2002:a05:6402:168b:: with SMTP id a11mr11274217edv.107.1573230201558; Fri, 08 Nov 2019 08:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573230201; cv=none; d=google.com; s=arc-20160816; b=vHFSccIr7FA4yytOoK7cDQCgolaD3mqrR7Py/LCH9ZsQSmPmqOJ72LP0blC8ckAR09 WpqDd44AdyzJHq+cPu3O1M0YdJwI6/hlxQJhEOQ5EIGVJ8dj9Ga3cghRmWeVTZjE3BCt aEgVMfl2hkSGmYIiVJUyfMDAkgKm9gV8OiuCmqbp1HbJlGUHUAZghhK6Fio6diSYxmAy dZya1umezcwnn26BLLjS6aoIjxHKoYKvuXxOA6nBWaj24cFuAyIWmdwOb4RwleHb/gD6 hNOqSRMBRkJWPytyI99Rn256/Y2Xd2dKMs1arr+dlvVFv/r1fgJ3CWjypPh5AKFPdlWy rZ3g== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=+R4EiT/cR8QNd92CnyrxLs3P2u0BeJb+gjOC5ncyT/o=; b=ByzHRl7673RSKboxu/EACeQn6AETpy7pbF0ZvmOuN+R4WPgSxVvg636bohSKhq0cHh LsXMORQPAXP8NqAhGoC2hQ4WuyXS9tMIwooBCh69tsZ+t/BnnyzVjHn1OFNPyloqGcqe NPZCNwauviqdBJyN2j07eKst7hijr5ElJEEN9g+45csRj1fRKeExB2FxBZLPnmvuoBTo VVHiWiJSXmdMUpQJcSTotCwNHpwxRrpX2uK2WXwixnsytPCbvstrPNtz/XsP6KtF4iIJ Em5gftcQAgdNX3neR0tRnvyZsJGoxfTYsYf5iaZay4xDIKofS/1yPRI+kbk4tMWVK3GY L3hQ== 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 gz10si4045245ejb.32.2019.11.08.08.22.57; Fri, 08 Nov 2019 08:23:21 -0800 (PST) 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 S1726641AbfKHQWW (ORCPT + 99 others); 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