summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-09-23 18:19:01 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-24 18:11:57 -0200
commit8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2 (patch)
treec4d9c3844d088d6c873d211f9386bbac5c79bbc9 /tools/perf/scripts/python/bin/stackcollapse-report
parentc771f42fed7f21f510793302687884b424cd9f54 (diff)
downloadkernel-8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2.tar.gz
[media] VPU: mediatek: Fix return value in case of error
If 'dma_alloc_coherent()' returns NULL, 'vpu_alloc_ext_mem()' will return 0 which means success. Return -ENOMEM instead. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions