mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 09:43:54 -04:00
staging: dgnc: dereferences ts var in dgnc_tty_close()
The value tty->termios needed to be dereferenced to be assigned to the variable ts. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bf0f2ebff3
commit
5857a0b5f1
@@ -1758,7 +1758,7 @@ static void dgnc_tty_close(struct tty_struct *tty, struct file *file)
|
||||
if (!bd || bd->magic != DGNC_BOARD_MAGIC)
|
||||
return;
|
||||
|
||||
ts = tty->termios;
|
||||
ts = &tty->termios;
|
||||
|
||||
DPR_CLOSE(("Close called\n"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user