]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: check SPDX tags in YAML files
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 7 Apr 2020 03:10:51 +0000 (20:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:43 +0000 (10:43 -0700)
commit1bfecbd3d93cc54862b0c166e2854114f282fa9e
tree516ac57fda54f11df710b474670b11184990d8f4
parenta791021b580c02ccb8069cdb326e69eb28ecc0e6
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.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Joe Perches <joe@perches.com>
Cc: Rob Herring <robh@kernel.org>
Link: http://lkml.kernel.org/r/20200129123356.388669-1-lkundrak@v3.sk
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl