diff options
author | 2019-01-23 20:00:22 +0800 | |
---|---|---|
committer | 2019-01-23 15:45:37 +0000 | |
commit | e902cdcb5112b89ee445588147964723fd69ffb4 (patch) | |
tree | 91a285cafe9df4664602d2b17680297d839c4216 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: spi-mem: Fix a memory leak in spi_mem_dirmap_destroy() (diff) | |
download | wireguard-linux-e902cdcb5112b89ee445588147964723fd69ffb4.tar.xz wireguard-linux-e902cdcb5112b89ee445588147964723fd69ffb4.zip |
spi/topcliff_pch: Fix potential NULL dereference on allocation error
In pch_spi_handle_dma, it doesn't check for NULL returns of kcalloc
so it would result in an Oops.
Fixes: c37f3c2749b5 ("spi/topcliff_pch: DMA support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions