diff options
author | 2014-11-11 09:12:28 +1100 | |
---|---|---|
committer | 2014-11-12 13:47:20 +1100 | |
commit | cd32e2dcc9de6c27ecbbfc0e2079fb64b42bad5f (patch) | |
tree | f53c940f8194f1705a60d4508194ce1160f6a76c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/gamecube/wii: delete unneeded test before of_node_put (diff) | |
download | wireguard-linux-cd32e2dcc9de6c27ecbbfc0e2079fb64b42bad5f.tar.xz wireguard-linux-cd32e2dcc9de6c27ecbbfc0e2079fb64b42bad5f.zip |
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: 309257484cc1 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions