Open mvillion opened 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 (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)) {
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
endif