From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from m16.mail.163.com (m16.mail.163.com [220.197.31.5]) (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 EF06C334C2B for ; Sun, 5 Apr 2026 19:39:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775417989; cv=none; b=CgonPPXWqNWd8MGMD/Zq3i6XSTUedQEEDxrZwYu2qgbIOQBuqn+G+o5X6jfmscEDE8Rz0cIhnXkt2IlwqwXTr45VcBKIPqH+WB+S9oNLPhdsMvkxpLUezNOn3Q3b3/7gITbaSHPvfaU14INsPIKA0cSbtWra1tVUgZ6IJYF0dfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775417989; c=relaxed/simple; bh=a1joUx0K99WeYsQuAGm3eNaVq5XfNQ3r9/LupRE/cNc=; h=From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-Id:Date; b=HMRx4l2xklz/r22nvZaGScgulWjZJOFeXDGVuAPWz8TncMOyYsi3Ie6z5euPjpUkvY/5G5B1i5fng9GNwlm4etk1/dL22deSmSVshxnwpsE9KztZqsveNfTKhNk6FAqRqOTbIPIGN2ZqrtRri8AZzpgBf7Hs2CZcVoDruzgz3IE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=IJWSYt+F; arc=none smtp.client-ip=220.197.31.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="IJWSYt+F" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Content-Type:MIME-Version: Message-Id:Date; bh=a1joUx0K99WeYsQuAGm3eNaVq5XfNQ3r9/LupRE/cNc=; b=IJWSYt+FMUv20G1zI7U0HsSW/7Bl2Sdv2ovW2g7K7EOhGYs4H7v5qWxHBUDYUV uvWE818bwYKLrnbP+WxRscVsw6i3DLzO9rbmfnfaG15F5ApL0YUgzRA8QZWAQ30j 2ZkwZCwqheB05WqIoDv41ikxs+m6NQRUmrDDZIiazU75U= Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa (unknown []) by gzga-smtp-mtada-g0-0 (Coremail) with SMTP id _____wD3n7poutJp3YjhDA--.59086S2; Mon, 06 Apr 2026 03:39:21 +0800 (CST) From: CaoRuichuang To: Joe Perches Cc: Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] scripts: allow checkpatch and get_maintainer in sparse checkouts In-Reply-To: References: <20260405185504.76040-1-create0818@163.com> <20260405191555.80315-1-create0818@163.com> <20260405191555.80315-2-create0818@163.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID:_____wD3n7poutJp3YjhDA--.59086S2 Message-Id:<69D2BA6A.0F2F4C.00001@m16.mail.163.com> X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUeR6zUUUUU Date: Mon, 6 Apr 2026 03:39:22 +0800 (CST) X-CM-SenderInfo: pfuht3jhqyimi6rwjhhfrp/xtbC6ArXEWnSumoSzwAA3S Hi Joe, I re-tested this on a clean sparse checkout of the upstream tree. Both tools work fine with --no-tree: - scripts/checkpatch.pl --no-tree ... - scripts/get_maintainer.pl --no-tree ... So you are right that changing top_of_kernel_tree() is unnecessary for this workflow. I'll drop this series. Thanks, CaoRuichuang