Bug#1090957: nvidia-fs-dkms: Module fails to build with kernel 6.12.5

Gerardo Esteban Malazdrewicz gerardo at malazdrewicz.com.ar
Sun Dec 22 07:01:28 GMT 2024


I cobbled this patch.
It compiles in 6.11 and 6.12.
No idea if it actually works.

Related changes in 6.12:
* FMODE_UNSIGNED_OFFSET moved to fop_flags, renamed FOP_UNSIGNED_OFFSET
* fd.file gone, (new) accessor needed : fd_file(fd)
     Kept fd_file(fd) syntax, redefining it as the old fd.file if not
already defined.
* .fop_flags added in struct file_operations.

Regards,
     Gerardo Malazdrewicz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-fs-linux-6.12.diff
Type: text/x-patch
Size: 3812 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20241222/32a79ce4/attachment.bin>


More information about the pkg-nvidia-devel mailing list