From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) (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 314A628AB0B for ; Sun, 5 Apr 2026 19:26:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775417211; cv=none; b=fSzuXIAN0NURTQ3KeT0q38OvItLk30yCXfOxSN5JSlYPOyT0Dfc2Wom4diO1XwccMiY+LQFyqpqTh4xaYc1v87fddWu4hcqiT5CSVM4zCtPxhzFa09zLkcgI+vsWoJARf+VppDlYmJmYhQBeY7T9S5O5dwkYfJDEj3/EXUXEbmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775417211; c=relaxed/simple; bh=yQ2IZofVdG5+PkLaNavxJbXN6+04dEz3WzxVNMBp55M=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=CNjoDtEwW2wAopid3CUXgMtruoFdrSA9FHtUlMxHBX7ZOmN8+jXDhUiD3dwjFzZJU0Ody4zxWZ19ZxcXqmrIIl3XLEzhmMSi6xd/69gldnxPa4G/HbXag8HjJ2lddlyarxo+Qf1mGvAkvAYwUexyywSx1+V3b4XTAAxDM6v4a+I= 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.13 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 omf07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id ADEB34B4CD; Sun, 5 Apr 2026 19:26:42 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf07.hostedemail.com (Postfix) with ESMTPA id AD2DE20024; Sun, 5 Apr 2026 19:26:40 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 1/2] 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:26:39 -0700 In-Reply-To: <20260405191555.80315-2-create0818@163.com> References: <20260405185504.76040-1-create0818@163.com> <20260405191555.80315-1-create0818@163.com> <20260405191555.80315-2-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-Server: rspamout05 X-Rspamd-Queue-Id: AD2DE20024 X-Stat-Signature: qxm7jkjisb5d4aiepb53agagrnz98zni X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18PSupNZdve/qq6b7hjBSL2FnkVgiCKk2U= X-HE-Tag: 1775417200-448114 X-HE-Meta: U2FsdGVkX18douLCEBEvOQbUxRuKOpnYajk3qwq0KmOMmsiSArRkYM30Miznz9Na4mtQs6J3nFKn6JlHVL3hAPPGOvN5aR/S6vhUzw15obrTsX5TChYChfaUqINecHSKTgWxl8Dbo0lqiwLt4tV92L+IC0ZOrrHHqgiFtdVfzXNzGVaY3EqWqPgyQ4+H4TrwCIeYRiV/BCApLGL1kjVjPqSrQqe+lfaWxx4grDJOyzxtoTC5f7oN4iZGtDXbYtFCP4FWZ9lMhQqheEnNHJVgXRcmx9XzsEErex9WmnhLSDNdJwJATyUEiI2hiacKIzuF On Mon, 2026-04-06 at 03:15 +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. I still think this is unnecessary and you should just add --no-tree to the command line / script invocations of these tools.