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)
commit5a6d20ce19b770c9946281783614294b3f570ab8
tree5ccc301d22f41d8567e34a239f48c24955a2887d
parent10895d2c82cce9650f7d34c81c1bd29958e15293
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