From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 616781EFF8D for ; Sun, 5 Apr 2026 19:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775416336; cv=none; b=BkBCsLZMgy9uehlpE2K83FbCxNaJW15AJd4TTPs8FjRc6aXKCnM8MUpdA+jEDGPfq5BmbrEHBPOS2VsMusoZ+brrC9eJn4OeLhii9EGmEHnPLC8pC4zThfGSreZ5cNqIDjpds8vl+emFB/4ZE0XGk7XSfCvk4T+GjfIhuBpkXjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775416336; c=relaxed/simple; bh=tyjkkZoljdmOCYfgQBI7D+wS81nwQ2U5Rrq/PEF7De8=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=CCfnmPPDjcQ7WnnwUMiWi4y7sthcNncB29Cu1ynM+VYV08BCzdZFVKdRae7u7PPUat+qAirh1ro/XuLMiZpUqd35yTN6IDeQ75cPreFmFZwD6HIA64MeA36x8hm6NCUIvfaQ4CKteX/9o634Q1cN1pxlQ57KodzbVO/jqEzO7gs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 126334F9B7; Sun, 5 Apr 2026 19:12:08 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA id E5B7B20013; Sun, 5 Apr 2026 19:12:05 +0000 (UTC) Message-ID: Subject: Re: [PATCH] scripts: allow checkpatch and get_maintainer in sparse checkouts From: Joe Perches To: CaoRuichuang , apw@canonical.com Cc: dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, linux-kernel@vger.kernel.org Date: Sun, 05 Apr 2026 12:12:05 -0700 In-Reply-To: <20260405185504.76040-1-create0818@163.com> References: <20260405185504.76040-1-create0818@163.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: E5B7B20013 X-Rspamd-Server: rspamout06 X-Stat-Signature: jbxb6bcjfpcemsiqbsbreg1xump1s93k X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+ppdxOwt+vJA0nlcSBTW5nCRIRI1H6XdY= X-HE-Tag: 1775416325-817256 X-HE-Meta: U2FsdGVkX1+dIeLryzaruSYYLCr/tqCDxB7YQBsrMTUMRl8ZC2SNwngO/LkwkcerXXkOU2iiJVBpDAqhtmSVnD3DdCizVkW87YWNXXJTZuM+pzZ4Y6sy4++opBHEzWG7qeo6cPDewjWwJfZmyp8czGtIzQ1c37TQOUn8YdHPNjF7aB2uUgI/s/nd88Y/j9c/7YElPUeQMwWBfWM+jE8Gvn6tePI002LBkEOQZSQdYwPAcgsic+o8n7EJ0UYcjKeHPw+ULaP5uIvu9zYFdvAI3CPkUOt9zqTI1fLjSC00MFQt3dglieX5Cuu6SEUUx9XeSRot0aG9uI9sn920kPBA336Wc+K8iAymFOIPVZGcst0= On Mon, 2026-04-06 at 02:55 +0800, CaoRuichuang wrote: > checkpatch.pl and get_maintainer.pl currently reject sparse checkouts bec= ause top_of_kernel_tree() insists on top-level directories such as arch/, d= rivers/ and fs/ being present in the working tree. So add / use the command-line --notree option instead ?