checkpatch: prefer MODULE_LICENSE("GPL") over MODULE_LICENSE("GPL v2")
authorJoe Perches <joe@perches.com>
Wed, 16 Feb 2022 04:31:53 +0000 (15:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 17 Feb 2022 03:46:52 +0000 (14:46 +1100)
commit078d8c5d5b0c7de9332fd5fae64de38b3ca00f36
tree78191c809cd244f3561de59cffe927aabf4a66a9
parent57b104674a86bd4b1c8584560f6bd66bb496a512
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 bf7fbeeae6db ("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: Stephen Rothwell <sfr@canb.auug.org.au>
scripts/checkpatch.pl