diff options
author | Robin Murphy <[email protected]> | 2016-03-03 16:35:35 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-03-07 16:11:14 -0800 |
commit | d9e105ca601e58feec65cdcef86d9c5748b7e5bb (patch) | |
tree | 93fb2a76912190cf0d8ac90bd3e4eedcdcde0f58 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b18a183eaac25bd8dc51eab85437c7253f5c31d1 (diff) |
tty: amba-pl011: don't dereference NULL platform data
When only a TX DMA channel is specified in DT, pl011_dma_probe() falls
back to looking for the optional RX channel in platform data. What it
doesn't do is check whether that platform data actually exists...
Add the missing check to avoid crashing the kernel.
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions