]> git.pld-linux.org Git - packages/wl.git/blob - linux-5.9.patch
- fix building with kernel 5.9
[packages/wl.git] / linux-5.9.patch
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.059275 seconds and 3 git commands to generate.