change function calls to support kernel 6.14.0
Hey mate,
As mentioned in some of the other recent PRs, you might want also want to try over at: https://github.com/dlundqvist/xone
medusalix comes back occasionally and pulls stuff, including from there, but we don't know when that will be.
Thank you, this fixed the module build errors with:
Host: isocool Kernel: 6.12.48+deb13-amd64 arch: x86_64 bits: 64
compiler: gcc v: 14.2.0
Desktop: Cinnamon v: 6.4.13 Distro: LMDE 7 Gigi base: Debian 13.0 trixie
I confirm this is working on Fedora 42.
Hey, thanks for putting this PR together!
I just wanted to share my experience trying this on Ubuntu 24.04 with the 6.14.0-33-generic kernel.
Initially, I ran into ABI mismatch errors when trying to load the modules:
module xone_gip: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
modprobe: ERROR: could not insert 'xone_wired': Exec format error
Solution: After reinstalling the linux headers (sudo apt install --reinstall linux-headers-$(uname -r)), then uninstalling and reinstalling xone, everything worked perfectly!
So if anyone else on Ubuntu encounters this issue, try reinstalling your kernel headers first.