linux-next: build failure after merge of the tty.current tree

From: Stephen Rothwell
Date: Thu Jul 10 2014 - 21:21:29 EST


Hi Greg,

After merging the tty.current tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

In file included from drivers/tty/serial/imx.c:42:0:
drivers/tty/serial/imx.c: In function 'imx_start_tx':
drivers/tty/serial/imx.c:570:27: error: request for member 'state' in something not a structure or union
if (uart_circ_empty(&port.state->xmit))
^
include/linux/serial_core.h:336:34: note: in definition of macro 'uart_circ_empty'
#define uart_circ_empty(circ) ((circ)->head == (circ)->tail)
^
drivers/tty/serial/imx.c:570:27: error: request for member 'state' in something not a structure or union
if (uart_circ_empty(&port.state->xmit))
^
include/linux/serial_core.h:336:50: note: in definition of macro 'uart_circ_empty'
#define uart_circ_empty(circ) ((circ)->head == (circ)->tail)
^

Caused by commit c557d392fbf5 ("serial: Test for no tx data on tx
restart"). That can't have been build tested :-(

I have used the tty.current tree from next-20140710 for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature