gnab / rtl8812au

Realtek 802.11n WLAN Adapter Linux driver
1.7k stars 551 forks source link

Fix for ubuntu 24.10 and kernel 6.11.0-8 #259

Open mvillion opened 1 month ago

mvillion commented 1 month ago

Hello,

I had to add a "(void *)" to silence a warning that is breaking the build with gcc-14:

diff --git a/os_dep/linux/rtw_android.c b/os_dep/linux/rtw_android.c index 71090dc..4d70f07 100644 --- a/os_dep/linux/rtw_android.c +++ b/os_dep/linux/rtw_android.c @@ -355,7 +355,7 @@ int rtw_android_priv_cmd(struct net_device net, struct ifreq ifr, int cmd)

if (LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0))

if (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)) {

else