]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/gem-shmem: Fix the MODULE_LICENSE() string
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Dec 2025 13:41:59 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:16:50 +0000 (10:16 +0100)
commit08e98ad766b1d59a4569aedffb09a60fc545c758
treecfff25bf506a42b2b9dd6dc75b170485f14af253
parentfe8d456080423b9ed410469fbd1e2098d3acce2b
drm/gem-shmem: Fix the MODULE_LICENSE() string

[ Upstream commit 3fbd97618f49e07e05aad96510e5f2ed22d68809 ]

Replace the bogus "GPL v2" with "GPL" as MODULE_LICNSE() string. The
value does not declare the module's exact license, but only lets the
module loader test whether the module is Free Software or not.

See commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs.
"GPL v2" bogosity") in the details of the issue. The fix is to use
"GPL" for all modules under any variant of the GPL.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Fixes: 4b2b5e142ff4 ("drm: Move GEM memory managers into modules")
Link: https://patch.msgid.link/20251209140141.94407-3-tzimmermann@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_gem_shmem_helper.c