aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-09-25 10:01:56 +0300
committerOhad Ben-Cohen <[email protected]>2012-10-02 09:57:28 +0200
commit7168d914a782086e217214c57ddfc7cc4b738c0c (patch)
tree24219d5248763072a4d683dd0ca667227d42cd0b /tools/perf/util/trace-event-scripting.c
parent2ed6d29c725c4aead510b5c23f563795b265acf5 (diff)
remoteproc: fix a potential NULL-dereference on cleanup
We only need to allocate mapping if there is an IOMMU domain. Otherwise, when the mappings are released, the assumption that an IOMMU domain is there will crash and burn. CC: [email protected] Signed-off-by: Dan Carpenter <[email protected]> [ohad: revise commit log] Signed-off-by: Ohad Ben-Cohen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions