Hello!
Cant build latest version of driver (tried with dkms and with just make):
CC [M] /root/last_ver/8821cu-20210118-main/hal/hal_mp.o
CC [M] /root/last_ver/8821cu-20210118-main/hal/hal_mcc.o
CC [M] /root/last_ver/8821cu-20210118-main/hal/hal_hci/hal_usb.o
/root/last_ver/8821cu-20210118-main/hal/hal_hci/hal_usb.c: In function ‘usb_init_recv_priv’:
/root/last_ver/8821cu-20210118-main/hal/hal_hci/hal_usb.c:29:8: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(long unsigned int)’ [-Werror=cast-function-type]
29 | (void(*)(unsigned long))usb_recv_tasklet,
| ^
cc1: all warnings being treated as errors
make[3]: *** [/root/last_ver/8821cu-20210118-main/hal/hal_hci/hal_usb.o] Error 1
make[2]: *** [/root/last_ver/8821cu-20210118-main] Error 2
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory `/usr/src/kernels/5.17.2-1.el7.elrepo.x86_64'
make: *** [modules] Error 2
Linux version 5.17.2-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2), GNU ld version 2.32-16.el7) #1 SMP PREEMPT Wed Apr 6 16:49:21 EDT 2022
Hello! Cant build latest version of driver (tried with dkms and with just make):
Linux version 5.17.2-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2), GNU ld version 2.32-16.el7) #1 SMP PREEMPT Wed Apr 6 16:49:21 EDT 2022