]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/gem-shmem: Fix the MODULE_LICENSE() string
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 9 Dec 2025 13:41:59 +0000 (14:41 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 21 Dec 2025 19:15:36 +0000 (20:15 +0100)
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
drivers/gpu/drm/drm_gem_shmem_helper.c

index 9cd52f8930fa262d938abef2b9b6ef931ccb08f2..f13eb5f36e8a97b0773e1dd8d8418cd1c4d0853f 100644 (file)
@@ -896,4 +896,4 @@ EXPORT_SYMBOL_GPL(drm_gem_shmem_prime_import_no_map);
 
 MODULE_DESCRIPTION("DRM SHMEM memory-management helpers");
 MODULE_IMPORT_NS("DMA_BUF");
-MODULE_LICENSE("GPL v2");
+MODULE_LICENSE("GPL");