Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

checkpatch: Fix false DT_SPLIT_BINDING_PATCH warnings

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.

Link: https://patch.msgid.link/20260121212715.144495-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+1 -1
+1 -1
scripts/checkpatch.pl
··· 2928 2928 } 2929 2929 $checklicenseline = 1; 2930 2930 2931 - if ($realfile !~ /^MAINTAINERS/) { 2931 + if ($realfile !~ /^(MAINTAINERS|dev\/null)/) { 2932 2932 my $last_binding_patch = $is_binding_patch; 2933 2933 2934 2934 $is_binding_patch = () = $realfile =~ m@^(?:Documentation/devicetree/|include/dt-bindings/)@;