Skip to content

Commit e8dd475

Browse files
akpm00gregkh
authored andcommitted
serial: "altera_uart: simplify altera_uart_console_putc()" checkpatch fixes
ERROR: code indent should use tabs where possible #32: FILE: drivers/serial/altera_uart.c:397: +^I ALTERA_UART_STATUS_TRDY_MSK))$ total: 1 errors, 0 warnings, 39 lines checked ./patches/altera_uart-simplify-altera_uart_console_putc.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches This fix got lost when someone merged "altera_uart: simplify altera_uart_console_putc()". Please don't lose fixes. Please don't write of mere patches which have trivial checkpatch errors. Cc: Tobias Klauser <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 078dee2 commit e8dd475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/altera_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ int __init early_altera_uart_setup(struct altera_uart_platform_uart *platp)
394394
static void altera_uart_console_putc(struct uart_port *port, const char c)
395395
{
396396
while (!(readl(port->membase + ALTERA_UART_STATUS_REG) &
397-
ALTERA_UART_STATUS_TRDY_MSK))
397+
ALTERA_UART_STATUS_TRDY_MSK))
398398
cpu_relax();
399399

400400
writel(c, port->membase + ALTERA_UART_TXDATA_REG);

0 commit comments

Comments
 (0)