Hi, am a newbie to tinker devices. I have tinker 2 with debian 11. I need to recompile the kernel with some additional settings. I cloned kernel sources from https://github.com/TinkerBoard/debian_kernel did 'make menuconfig' with a running config from /proc/config.gz. And then 'make'. It fails to build:
CC arch/arm64/kernel/psci.o
arch/arm64/kernel/vdso.c: In function ‘vdso_init’:
arch/arm64/kernel/vdso.c:119:6: warning: ‘memcmp’ reading 4 bytes from a region of size 1 [-Wstringop-overflow=]
error, forbidden warning: vdso.c:119
make[1]: *** [scripts/Makefile.build:277: arch/arm64/kernel/vdso.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC arch/arm64/crypto/aes-ce-ccm-glue.o
make: *** [Makefile:1028: arch/arm64/kernel] Error 2
make: *** Waiting for unfinished jobs....
Are these sources right for debian 11 ? Are there any patches for this fix ? Any help please ?