[Kernel/Drive] 安装rtl8821CU驱动get_fs报错
Tofloor
poster avatar
yonee77
deepin
2021-07-07 01:14
Author

/home/ads/Downloads/V1.0驱动程序20210616/RTL8811CU_Linux/RTL8811CU_Linux/driver/rtl8821CU_rtl8731AU_WiFi_linux_v5.8.1.7_37266.20200929_COEX20200616-4141/os_dep/osdep_service.c:2306:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?

    set_fs(KERNEL_DS);

           ^~~~~~~~~

 

Reply Favorite View the author
All Replies
忘记、过去
deepin
2021-07-07 01:27
#1

这个驱动写法只适合 5.10 一下版本的内核,5.10 里面删掉了 get_fs 方法......新版本的驱动只能自己找了

Reply View the author
yonee77
deepin
2021-07-07 04:51
#2

驱动找到了,在这,20.2.2可以安装

https://github.com/brektrou/rtl8821CU

Reply View the author