Re: [PATCH 12/31] tty: serial - fix tty back references in termios

From: Tony Luck
Date: Thu Jun 17 2010 - 14:51:12 EST


A couple of build breaks in linux-next (tag: next-20100617)

drivers/serial/ioc4_serial.c:1750: error: expected statement before ‘)’ token

Would have a similar one for ioc3_serial.c if my .config included it.

On Tue, Jun 1, 2010 at 1:52 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> diff --git a/drivers/serial/ioc3_serial.c b/drivers/serial/ioc3_serial.c
> index f164ba4..bd2e9e6 100644
> --- a/drivers/serial/ioc3_serial.c
> +++ b/drivers/serial/ioc3_serial.c
...
> -       if (I_IGNPAR(state->port.tty))
> +       if (iflag & IGNPAR))

Can we have matching numbers of "(" and ")" here please.

> diff --git a/drivers/serial/ioc4_serial.c b/drivers/serial/ioc4_serial.c
> index 8ad28fc..2c30023 100644
> --- a/drivers/serial/ioc4_serial.c
> +++ b/drivers/serial/ioc4_serial.c
..
.- if (I_IGNPAR(state->port.tty))
+ if (iflag & IGNPAR))

Same here.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/