mxser: use semi-colons instead of commas
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 25 Aug 2021 07:24:35 +0000 (10:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 12:48:40 +0000 (14:48 +0200)
This code works, but it's cleaner to use semi-colons at the end of
a statement instead of a comma.

Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210825072435.GB13013@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c

index 335e4e50d679aee01cc12dc37c8df16247554832..1216f3985e18e34ca0eb010c5903545f71dba3cd 100644 (file)
@@ -1039,12 +1039,12 @@ static int mxser_get_serial_info(struct tty_struct *tty,
        if (closing_wait != ASYNC_CLOSING_WAIT_NONE)
                closing_wait = jiffies_to_msecs(closing_wait) / 10;
 
-       ss->type = info->type,
-       ss->line = tty->index,
-       ss->port = info->ioaddr,
-       ss->irq = info->board->irq,
-       ss->flags = info->port.flags,
-       ss->baud_base = MXSER_BAUD_BASE,
+       ss->type = info->type;
+       ss->line = tty->index;
+       ss->port = info->ioaddr;
+       ss->irq = info->board->irq;
+       ss->flags = info->port.flags;
+       ss->baud_base = MXSER_BAUD_BASE;
        ss->close_delay = close_delay;
        ss->closing_wait = closing_wait;
        ss->custom_divisor = MXSER_CUSTOM_DIVISOR,