File kernel-4.2.patch of Package dkms-nvidia
diff -urN kernel.orig/nvidia/nv.c kernel/nvidia/nv.c
--- kernel.orig/nvidia/nv.c 2022-04-20 19:51:27.000000000 +0200
+++ kernel/nvidia/nv.c 2022-07-23 22:27:16.752059887 +0200
@@ -43,7 +43,7 @@
#if (NV_BUILD_MODULE_INSTANCES != 0)
#if defined(MODULE_LICENSE)
-MODULE_LICENSE("NVIDIA");
+MODULE_LICENSE("GPL");
#endif
#if defined(MODULE_INFO)
MODULE_INFO(supported, "external");
diff -urN kernel.orig/nvidia/nv-frontend.c kernel/nvidia/nv-frontend.c
--- kernel.orig/nvidia/nv-frontend.c 2022-04-20 19:51:28.000000000 +0200
+++ kernel/nvidia/nv-frontend.c 2022-07-23 22:27:16.776059745 +0200
@@ -15,7 +15,7 @@
#include "nv-frontend.h"
#if defined(MODULE_LICENSE)
-MODULE_LICENSE("NVIDIA");
+MODULE_LICENSE("GPL");
#endif
#if defined(MODULE_INFO)
MODULE_INFO(supported, "external");
diff -urN kernel.orig/nvidia-modeset/nvidia-modeset-linux.c kernel/nvidia-modeset/nvidia-modeset-linux.c
--- kernel.orig/nvidia-modeset/nvidia-modeset-linux.c 2022-04-20 19:51:28.000000000 +0200
+++ kernel/nvidia-modeset/nvidia-modeset-linux.c 2022-07-23 22:27:16.838059377 +0200
@@ -1301,7 +1301,7 @@
module_exit(nvkms_exit);
#if defined(MODULE_LICENSE)
- MODULE_LICENSE("NVIDIA");
+ MODULE_LICENSE("GPL");
#endif
#if defined(MODULE_INFO)
MODULE_INFO(supported, "external");