]> git.pld-linux.org Git - packages/wl.git/blame - linux-5.9.patch
- fix building with kernel 5.9
[packages/wl.git] / linux-5.9.patch
CommitLineData
4b51e5e3
JR
1--- wl-6.30.223.271/wl/src/wl/sys/wl_linux.c~ 2020-10-21 08:40:00.000000000 +0200
2+++ wl-6.30.223.271/wl/src/wl/sys/wl_linux.c 2020-10-21 08:41:58.566248630 +0200
3@@ -1662,7 +1662,11 @@
4 goto done2;
5 }
6
7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 9, 0)
8+ if (uaccess_kernel())
9+#else
10 if (segment_eq(get_fs(), KERNEL_DS))
11+#endif
12 buf = ioc.buf;
13
14 else if (ioc.buf) {
This page took 0.072125 seconds and 4 git commands to generate.