linux-next: build warning after merge of the tty tree

Stephen Rothwell
2015-03-10T05:28:24Z

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

Hi Greg,

After merging the tty tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/tty/serial/imx.c: In function 'imx_set_termios':
drivers/tty/serial/imx.c:1301:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (port->rs485.flags & SER_RS485_ENABLED)
^

Introduced by commit 17b8f2a3fdca ("serial: imx: add support for half
duplex rs485").

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]