Closed christianrauch closed 1 year ago
[...]/vtty/vtty.c: In function ‘vtmx_read’: [...]/vtty/vtty.c:454:54: error: implicit declaration of function ‘kernel_termios_to_user_termios’ [-Werror=implicit-function-declaration] 454 | copystatus = kernel_termios_to_user_termios((struct termios2 __user*)ptr, &port->oob_data.termios); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Changing #if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0) to #if LINUX_VERSION_CODE < KERNEL_VERSION(6,2,0) fixes the issue for me.
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,4,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,2,0)