Skip to contentSkip to conversation

tty: serial: jsm: Add space before the open brace

PATCH New Gimcuan Hui 1 participant 1 message Oct 2, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: serial: jsm: Add space before the open brace

This patch fixes the checkpatch.pl error complain:

ERROR: space required before the open brace '{'

---
 drivers/tty/serial/jsm/jsm_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/jsm/jsm_tty.c +1 -1
index ec7d838..e69227c 100644
@@ -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;
 		}
Signature · 1 line
2.7.4