]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: verify SPDX comment style
authorJoe Perches <joe@perches.com>
Fri, 8 Mar 2019 00:28:32 +0000 (16:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2019 02:32:00 +0000 (18:32 -0800)
commit2eeb31d746759df09dcdea81c7fd078ad3304f5d
tree4c058ea6475ee9f1210cabae956f63fe3a254fd8
parenta639cdcda83971d6c2a82dfe95dde40e6a35eda1
checkpatch: verify SPDX comment style

Using SPDX commenting style // or /* is specified for various file types
in Documentation/process/license-rules.rst so add an appropriate test for
.[chsS] files because many proposed file additions and patches do not use
the correct style.

Link: http://lkml.kernel.org/r/8b02899853247a2c67669561761f354dd3bd110e.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl