checkpatch: prefer MODULE_LICENSE("GPL") over MODULE_LICENSE("GPL v2")
authorJoe Perches <joe@perches.com>
Mon, 28 Feb 2022 23:02:14 +0000 (10:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:02:14 +0000 (10:02 +1100)
commit0c69d2304e380af1d86c69395718fac8cb135e4b
treecdf7fb20113fd76da71eca188557be7b74e477b5
parent6962dbd13bdcd8aad3e03212583d1f90a36a7815
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