]> git.pld-linux.org Git - packages/wl.git/blame - kernel-4.14.patch
- fix prep and rediff patches
[packages/wl.git] / kernel-4.14.patch
CommitLineData
c90561b2
JR
1diff -urNp -x '*.orig' wl-6.30.223.271.org/src/shared/linux_osl.c wl-6.30.223.271/src/shared/linux_osl.c
2--- wl-6.30.223.271.org/src/shared/linux_osl.c 2021-02-25 20:01:38.664328984 +0100
3+++ wl-6.30.223.271/src/shared/linux_osl.c 2021-02-25 20:01:38.797662636 +0100
4@@ -1063,7 +1063,11 @@ osl_os_get_image_block(char *buf, int le
c504579c
JR
5 if (!image)
6 return 0;
7
8+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
9+ rdlen = kernel_read(fp, buf, len, &fp->f_pos);
10+#else
11 rdlen = kernel_read(fp, fp->f_pos, buf, len);
12+#endif
13 if (rdlen > 0)
14 fp->f_pos += rdlen;
15
This page took 0.029767 seconds and 4 git commands to generate.