Skip to content

Commit

Permalink
fix for kernel 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Sep 10, 2023
1 parent 4b725aa commit db67d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vtty.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static ssize_t vtmx_read (struct file *filp, char __user *ptr, size_t size, loff
size--;

if(tag == TAG_SET_TERMIOS) {
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,2,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
copystatus = kernel_termios_to_user_termios((struct termios2 __user*)ptr, &port->oob_data.termios);
#else
#ifdef CONFIG_SPARC
Expand Down

0 comments on commit db67d9e

Please sign in to comment.