Open ned2 opened 1 year ago
I managed to get the module to compile by making some changes that seems to have made the compiler happy. With the caveat that I'm not a C or Kernel developer by any stripe, so just made some guesses about what to change.
prandom_u32()
to get_random_u32()
in nvfs-mmap.c*nvfs_devnode(struct device *dev, umode_t *mode)
to *nvfs_devnode(const struct device *dev, umode_t *mode)
in nvfs-core.c
When trying to install either kernel 6.1 and 6.2, the nvidia-fs module fails to build. I discovered this while upgrading from Ubuntu 22.10 to 23.04.
(I couldn't manage to get get the build to use x86_64-linux-gnu-gcc-12 by setting theEdit: managed to set the compiler toCC
env var, but I get the impression that that's not the underlying issue?)x86_64-linux-gnu-gcc-12
and still seeing this issue.