diff options
author | Scott Wood <scottwood@freescale.com> | 2014-04-28 18:20:09 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-09 15:49:05 -0500 |
commit | a614db9ae9377f102d3fc35ca52efd93454f7a77 (patch) | |
tree | dc9bf3d6aca7d4ce35e88807ac0502322f7ccc72 /tools/perf/scripts/python | |
parent | f6869e7fe657bd977e72954cd78c5871a6a4f71d (diff) |
powerpc/fsl-rio: Fix fsl_rio_setup error paths and use-after-unmap
Several of the error paths from fsl_rio_setup are missing error
messages.
Worse, fsl_rio_setup initializes several global pointers and does not
NULL them out after freeing/unmapping on error. This caused
fsl_rio_mcheck_exception() to crash when accessing rio_regs_win which
was non-NULL but had been unmapped.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Liu Gang <Gang.Liu@freescale.com>
---
Liu Gang, are you sure all of these error conditions are fatal? Why
does the rio driver fail if rmu is not present (e.g. on t4240)?
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions