aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-04-04 14:38:40 +0000
committerGreg Kroah-Hartman <[email protected]>2022-04-15 11:31:29 +0200
commit0e0fd55719fa081de6f9e5d9e6cef48efb04d34a (patch)
tree16de6badb9260a79ae1989599db4cfc408e600d7 /tools/perf/scripts/python/bin/stackcollapse-record
parent60efd0513916f195dd85bfbf21653f74f9ab019c (diff)
serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe
platform_get_resource() may fail and return NULL, so we should better check it's return value to avoid a NULL pointer dereference. Fixes: 54da3e381c2b ("serial: 8250_aspeed_vuart: use UPF_IOREMAP to set up register mapping") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions