From nobody Sat Feb 7 21:08:11 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3E6203904F9 for ; Wed, 21 Jan 2026 21:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769030886; cv=none; b=NDRbaThUP3UGiHsObEgEcJHqSB+oV+hioL30zY60z14el8sPUNKnwDUDCEb0eKnYeSFXogcRShA7upLY7+oj5UtWm0u0TP+cD+lQDMvgdjuEUZGrH3jcCGY5vRCJF2PidxMVZtcCtUtZ8KSvrAUotn31r6i1GyccHfSoBXXGlbo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769030886; c=relaxed/simple; bh=oVbqxPnMmjhClw0/ig9uDJsh6MZh9bTaMG5j6+CYITU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LGwyIyIm3ls7g0BSx93rkEyisy1p9ZZxBQkh4vZAWyHTBfzgw77wU2iuXExsj8yIxW/jS/D1cGwrfPdY4OxSPvchLi9RF2hZn7opWVa0PuFXqGvcDpJiB+pcXQhU8Ef1QxhsC40BZCMQqjzprQtosuioWALp5WW9fRaMnqDfNxk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UxlEq4yh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UxlEq4yh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99727C4CEF1; Wed, 21 Jan 2026 21:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769030884; bh=oVbqxPnMmjhClw0/ig9uDJsh6MZh9bTaMG5j6+CYITU=; h=From:To:Cc:Subject:Date:From; b=UxlEq4yhP4AnIR2ybx/JeTr9HgTb30AddrtMLEc1rwSE3SkvC/aoi/2K3H2Wgyui9 NY1MY9bdCXPdohp8Xyp20Z/PyVKIethOyHOSjfjxb6U5TO9VamZS2piATJQrhtwP1x M7UI4s4vnMNU4tb4aNOdEiO955O4S4YuWIbGEpiaOaIkQnxP/6wncP5524Ss+GhTNJ 6zrLfLCStnpNLscZBT2Nczk4zk/ChoQ5dE+8FGIGe2I/P/uj01W7NntJvWnjqMaOMX OCozRTQsAsnw1UHccHg1ITb86Rtdi5knRYshRXgqMJv5x0Qz5m5UZMmnC6f0WGHuSe A9W8WHgIkqbOA== From: "Rob Herring (Arm)" To: Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn Cc: linux-kernel@vger.kernel.org Subject: [PATCH] checkpatch: Fix false DT_SPLIT_BINDING_PATCH warnings Date: Wed, 21 Jan 2026 15:27:14 -0600 Message-ID: <20260121212715.144495-1-robh@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Patches which both remove and add/modify DT binding files are incorrectly flagged as needing to split the patch. The issue is the check sees "dev/null" as one of the files in the patch which is not a DT binding file. Add "dev/null" to the skipped files. Signed-off-by: Rob Herring (Arm) --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index c0250244cf7a..f42c024fe6ef 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2924,7 +2924,7 @@ sub process { } $checklicenseline =3D 1; =20 - if ($realfile !~ /^MAINTAINERS/) { + if ($realfile !~ /^(MAINTAINERS|dev\/null)/) { my $last_binding_patch =3D $is_binding_patch; =20 $is_binding_patch =3D () =3D $realfile =3D~ m@^(?:Documentation/device= tree/|include/dt-bindings/)@; --=20 2.51.0