Files
packages/anda/system/wl-kmod/wl-kmod-019_kernel_5.9_segment_eq_removed.patch
T
Cappy Ishihara 1b8c7eaced chore: backport system tree from frawhide (#2980)
* backport frawhide system tree to f41

* fix v4l2loopback specs
2025-01-15 06:14:14 -06:00

16 lines
568 B
Diff

diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c
--- hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_linux.c 2020-03-19 10:24:18.154395810 +0100
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_271/src/wl/sys/wl_linux.c 2020-11-11 13:39:00.579562572 +0100
@@ -1659,7 +1659,11 @@
goto done2;
}
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)
+ if (uaccess_kernel())
+#else
if (segment_eq(get_fs(), KERNEL_DS))
+#endif
buf = ioc.buf;
else if (ioc.buf) {