Re: [PATCH] tty: serial/vt8500_serial.c: fix bug caused by missing "{}"

2013-01-16 Thread Tony Prisk
On Wed, 2013-01-16 at 23:25 +0100, Cong Ding wrote: > It is obviously here should be braced by "{}" in the "if" branch (more than 1 > line in the "if" branch), and by the > coding style document of the kernel I also add "{}" to the else branch. > > Signed-off-by: Cong Ding > --- > drivers/tty/se

[PATCH] tty: serial/vt8500_serial.c: fix bug caused by missing "{}"

2013-01-16 Thread Cong Ding
It is obviously here should be braced by "{}" in the "if" branch (more than 1 line in the "if" branch), and by the coding style document of the kernel I also add "{}" to the else branch. Signed-off-by: Cong Ding --- drivers/tty/serial/vt8500_serial.c |5 +++-- 1 file changed, 3 insertions(+)