Still don't know how to do.Tring later. But i have commented this issue at https://github.com/tomaspinho/rtl8821ce/issues/60. Hope tomaspinho resolve this bug.
------------------ ???????? ------------------ ??????: "herve"<he...@couvelard.com>; ????????: 2019??8??12??(??????) ????6:15 ??????: "debian-laptop"<debian-laptop@lists.debian.org>; ????: Re: RTL8821CE wifi can't work on Debian10 Le 12/08/2019 ?? 04:05, ???????? a ??crit : > macro "access_ok" requires 3 arguments, but only 2 given Looking at the kernel sources... |$ grep -r 'define access_ok' /usr/src/kernels/ /usr/src/kernels/4.20.16-200.fc29.x86_64/arch/x86/include/asm/uaccess.h:#define access_ok(type, addr, size)\ /usr/src/kernels/4.20.16-200.fc29.x86_64/include/asm-generic/uaccess.h:#define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size)) /usr/src/kernels/4.20.15-200.fc29.x86_64/arch/x86/include/asm/uaccess.h:#define access_ok(type, addr, size)\ /usr/src/kernels/4.20.15-200.fc29.x86_64/include/asm-generic/uaccess.h:#define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size)) /usr/src/kernels/5.0.3-200.fc29.x86_64/arch/x86/include/asm/uaccess.h:#define access_ok(addr, size) \ /usr/src/kernels/5.0.3-200.fc29.x86_64/include/asm-generic/uaccess.h:#define access_ok(addr, size) __access_ok((unsigned long)(addr),(size)) | ... it seems that a previously unused |type| has been cleaned-up/removed in newer kernels. FYI, I changed|| <https://github.com/aircrack-ng/rtl8812au/blob/1c72e119d775a32dd8d44e5bdb6115c6fa8e7057/os_dep/linux/rtw_android.c#L614> [...] to the following and compilation completed. #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)) if (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)) { #else if (!access_ok(priv_cmd.buf, priv_cmd.total_len)) { #endif/* Linux kernel < 5.0.0 */ https://github.com/aircrack-ng/rtl8812au/issues/301