aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-01-16 22:21:46 +0100
committerMauro Carvalho Chehab <[email protected]>2021-01-27 13:44:58 +0100
commitb2de3643c5024fc4fd128ba7767c7fb8b714bea7 (patch)
tree90d58a74eee04a137de3ad68e7ac8e84925585d1 /tools/perf/scripts/python/flamegraph.py
parent873a623fd42de4b3dc910ce37e1b664de9e41235 (diff)
media: cx25821: Fix a bug when reallocating some dma memory
This function looks like a realloc. However, if 'risc->cpu != NULL', the memory will be freed, but never reallocated with the bigger 'size'. Explicitly set 'risc->cpu' to NULL, so that the reallocation is correctly performed a few lines below. [hverkuil: NULL != risc->cpu -> risc->cpu] Fixes: 5ede94c70553 ("[media] cx25821: remove bogus btcx_risc dependency) Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions