Files
linux/arch/powerpc/kernel
Anton Blanchard cd32e2dcc9 powerpc: Fix bad NULL pointer check in udbg_uart_getc_poll()
We have some code in udbg_uart_getc_poll() that tries to protect
against a NULL udbg_uart_in, but gets it all wrong.

Found with the LLVM static analyzer (scan-build).

Fixes: 309257484c ("powerpc: Cleanup udbg_16550 and add support for LPC PIO-only UARTs")
Signed-off-by: Anton Blanchard <anton@samba.org>
[mpe: Add some newlines for readability while we're here]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-11-12 13:47:20 +11:00
..
2014-04-18 14:20:41 +02:00
2014-11-03 12:12:32 +11:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-09-25 23:14:41 +10:00
2014-08-06 13:04:32 +02:00
2014-08-06 13:04:32 +02:00
2014-08-06 13:04:32 +02:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00