]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: prefer MODULE_LICENSE("GPL") over MODULE_LICENSE("GPL v2")
authorJoe Perches <joe@perches.com>
Wed, 23 Mar 2022 23:05:56 +0000 (16:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 02:00:33 +0000 (19:00 -0700)
commit7992ed53d904fc1615bcb67c454748712baefc0a
treec523cea69571715f94eda59223064b3baea348e7
parentb6d2bf7037537ea736116a0b6204c2b73fdfb188
checkpatch: prefer MODULE_LICENSE("GPL") over MODULE_LICENSE("GPL v2")

There is no effective difference.

Given the large number of uses of "GPL v2", emit this message only for
patches as a trivial treeside sed could be done one day.

Ref: commit 8b4066d647e9 ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity")

Link: https://lkml.kernel.org/r/20220128185924.80137-1-joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl