checkpatch.pl: add SPDX license tag check
authorRob Herring <[email protected]>
Tue, 10 Apr 2018 23:33:13 +0000 (16:33 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Apr 2018 17:28:35 +0000 (10:28 -0700)
commit9f3a89926d6dfc30a4fd1bbcb92cc7b218d3786d
tree8f307e687f09a5729e80bcc15a2ce5b46bc4cd71
parent85e12066ea09bbee5c99ff2dbde9934291533b0d
checkpatch.pl: add SPDX license tag check

Add SPDX license tag check based on the rules defined in
Documentation/process/license-rules.rst.  To summarize, SPDX license
tags should be on the 1st line (or 2nd line in scripts) using the
appropriate comment style for the file type.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Philippe Ombredanne <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Igor Stoppa <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl