From: Gimcuan Hui Date: Mon, 2 Oct 2017 14:48:17 +0000 (+0800) Subject: tty: serial: jsm: Add space before the open brace X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=62fadbd8f798331d56fdadd3503dc09026ae8d1f;p=linux.git tty: serial: jsm: Add space before the open brace This patch fixes the checkpatch.pl error complain: ERROR: space required before the open brace '{' Signed-off-by: Gimcuan Hui Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index ec7d8383900fc..e69227cc3827c 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -474,7 +474,7 @@ int jsm_uart_port_init(struct jsm_board *brd) set_bit(line, linemap); brd->channels[i]->uart_port.line = line; rc = uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port); - if (rc){ + if (rc) { printk(KERN_INFO "jsm: Port %d failed. Aborting...\n", i); return rc; }