Skip to contentSkip to conversation

checkpatch-check-vendor-compatible-with-dashes.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014 Checkpatch

lore
Share & tools
lore
#0 lore raw

Subject: [merged] checkpatch-check-vendor-compatible-with-dashes.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:34:16 -0700

The patch titled
Subject: checkpatch: check vendor compatible with dashes
has been removed from the -mm tree. Its filename was
checkpatch-check-vendor-compatible-with-dashes.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Florian Vaussard <[email protected]>
Subject: checkpatch: check vendor compatible with dashes

The current vendor compatible check will not match vendors with dashes, like:

compatible="asahi-kasei"

---

 scripts/checkpatch.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-check-vendor-compatible-with-dashes +1 -1
diff -puN scripts/checkpatch.pl~checkpatch-check-vendor-compatible-with-dashes scripts/checkpatch.pl
@@ -2091,7 +2091,7 @@ sub process {
 				my $vendor = $compat;
 				my $vendor_path = $dt_path . "vendor-prefixes.txt";
 				next if (! -f $vendor_path);
-				$vendor =~ s/^([a-zA-Z0-9]+)\,.*/$1/;
+				$vendor =~ s/^([a-zA-Z0-9\-]+)\,.*/$1/;
 				`grep -Eq "$vendor" $vendor_path`;
 				if ( $? >> 8 ) {
 					WARN("UNDOCUMENTED_DT_STRING",

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch