Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 4378/1: KS8695: Serial driver fix

A fix for a really stupid typo in the KS8695 serial driver.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Andrew Victor and committed by
Russell King
e45c7a43 8858e9af

+2 -2
+2 -2
drivers/serial/serial_ks8695.c
··· 301 301 302 302 retval = request_irq(KS8695_IRQ_UART_LINE_STATUS, ks8695uart_rx_chars, IRQF_DISABLED, "UART LineStatus", port); 303 303 if (retval) 304 - return err_ls; 304 + goto err_ls; 305 305 306 306 retval = request_irq(KS8695_IRQ_UART_MODEM_STATUS, ks8695uart_modem_status, IRQF_DISABLED, "UART ModemStatus", port); 307 307 if (retval) 308 - return err_ms; 308 + goto err_ms; 309 309 310 310 return 0; 311 311