https://github.com/NVIDIA/open-gpu-kernel-modules/issues/712 https://forums.developer.nvidia.com/t/patch-for-565-57-01-linux-kernel-6-12/313260 https://github.com/Binary-Eater/open-gpu-kernel-modules/commit/8ac26d3c66ea88b0f80504bdd1e907658b41609d.patch --- a/kernel/nvidia-drm/nvidia-drm-drv.c +++ b/kernel/nvidia-drm/nvidia-drm-drv.c @@ -1712,4 +1712,8 @@ .llseek = noop_llseek, + +#if defined(FOP_UNSIGNED_OFFSET) + .fop_flags = FOP_UNSIGNED_OFFSET, +#endif }; --- a/kernel-module-source/kernel-open/nvidia-drm/nvidia-drm-drv.c +++ b/kernel-module-source/kernel-open/nvidia-drm/nvidia-drm-drv.c @@ -1712,4 +1712,8 @@ .llseek = noop_llseek, + +#if defined(FOP_UNSIGNED_OFFSET) + .fop_flags = FOP_UNSIGNED_OFFSET, +#endif };