summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVinayak Menon <vinmenon@codeaurora.org>2016-06-24 14:46:49 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-28 17:02:16 -0700
commit0806bdaa9adf5b095804b5cf6ef20488bfcce488 (patch)
tree45522b50f45568c9abf8a4439ca41044024a2581 /tools/perf/scripts/python/bin
parent226509c1ee0e257d2646fd4aec9a594f4c31dab0 (diff)
arm: dma-mapping: return NULL on remap error
Currently arm_dma_remap returns the offset value when it fails because of reasons like unavailability of vmalloc space. This is wrong as the caller expects NULL on failure, and can result in kernel panic on dereferencing the returned pointer. Change-Id: Ic851efecd1b5ff1c5e3105f28f392307857e63e3 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions