Commit 2285c496 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

mxser: use semi-colons instead of commas

This code works, but it's cleaner to use semi-colons at the end of
a statement instead of a comma.
Acked-by: default avatarJiri Slaby <jirislaby@kernel.org>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210825072435.GB13013@kiliSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 322003b9
...@@ -1039,12 +1039,12 @@ static int mxser_get_serial_info(struct tty_struct *tty, ...@@ -1039,12 +1039,12 @@ static int mxser_get_serial_info(struct tty_struct *tty,
if (closing_wait != ASYNC_CLOSING_WAIT_NONE) if (closing_wait != ASYNC_CLOSING_WAIT_NONE)
closing_wait = jiffies_to_msecs(closing_wait) / 10; closing_wait = jiffies_to_msecs(closing_wait) / 10;
ss->type = info->type, ss->type = info->type;
ss->line = tty->index, ss->line = tty->index;
ss->port = info->ioaddr, ss->port = info->ioaddr;
ss->irq = info->board->irq, ss->irq = info->board->irq;
ss->flags = info->port.flags, ss->flags = info->port.flags;
ss->baud_base = MXSER_BAUD_BASE, ss->baud_base = MXSER_BAUD_BASE;
ss->close_delay = close_delay; ss->close_delay = close_delay;
ss->closing_wait = closing_wait; ss->closing_wait = closing_wait;
ss->custom_divisor = MXSER_CUSTOM_DIVISOR, ss->custom_divisor = MXSER_CUSTOM_DIVISOR,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment