Skip to contentSkip to conversation

checkpatch-check-spdx-tags-in-yaml-files.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 8, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: checkpatch: check SPDX tags in YAML files
has been removed from the -mm tree. Its filename was
checkpatch-check-spdx-tags-in-yaml-files.patch

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

------------------------------------------------------
From: Lubomir Rintel <[email protected]>
Subject: checkpatch: check SPDX tags in YAML files

This adds a warning when a YAML file is lacking a SPDX header on first line, or it uses incorrect commenting style.

Currently the only YAML files in the tree are Devicetree binding documents.

---

 scripts/checkpatch.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-check-spdx-tags-in-yaml-files +1 -1
@@ -3106,7 +3106,7 @@ sub process {
 					$comment = '/*';
 				} elsif ($realfile =~ /\.(c|dts|dtsi)$/) {
 					$comment = '//';
-				} elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc)$/) {
+				} elsif (($checklicenseline == 2) || $realfile =~ /\.(sh|pl|py|awk|tc|yaml)$/) {
 					$comment = '#';
 				} elsif ($realfile =~ /\.rst$/) {
 					$comment = '..';

_

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