Fix: add extern mac_pton for Linux Kernel 7.0-RC1 compatibility#359
Fix: add extern mac_pton for Linux Kernel 7.0-RC1 compatibility#359Gen5551 wants to merge 6 commits intoMange:realtek-4.4.xfrom
Conversation
|
dmesg 7.0.txt |
|
Hi @Gen5551
Algo I get some errors with gcc-14 see
Please check the two additional commits at #360 if that made sense for you please add the code to your PR and I'll merge it (and close #360) |
|
All requested changes from #360 integrated and tested. Verified on Kernel 6.18 and 7.0-RC3 (GCC 15). Stable in AP mode, dmesg is clean. Ready for merge! |
Hello everyone! I've rebuilt the system using the new Linux Kernel 7.0-RC1. It turns out the driver fails to compile without a specific patch due to the implicit declaration of 'mac_pton'.
Here is the fix for the issue. After booting with the patched driver on the new kernel, no errors were detected. Tested on Arch Linux (Celeron G4920).

ioctl_linux.c
FIX for Kernel 7.0 RC1!
Working good! Max Speed 45-50Mbit\s