]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: validate MODULE_LICENSE content
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Thu, 25 Jun 2015 22:03:24 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:42 +0000 (17:00 -0700)
commitbca2b0e5060cbe4d334d1767f4009cf92b3149d2
tree5ccc301d22f41d8567e34a239f48c24955a2887d
parentab8bb15c48224b7361bede070fea79b050aa4dcd
checkpatch: validate MODULE_LICENSE content

There is a well defined list of expected values for MODULE_LICENSE so warn
the user upon usage of unknown values.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl