diff options
| author | Thierry Reding <[email protected]> | 2014-11-06 14:12:08 +0100 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2014-11-13 16:14:48 +0100 |
| commit | 1d1e6fe9b5cd9e51c0b064b60f673a973cac38ba (patch) | |
| tree | 404e5b43d88a459e749d0a749ff41b6eebf5b9fc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 53ea72132df8dd62bb77b28df7b05074dcea96fe (diff) | |
drm/tegra: Fix error handling cleanup
The DRM driver's ->load() implementation didn't do a good job (no job at
all really) cleaning up on failure. Fix that by undoing any prior setup
when an error occurs. This requires a bit of rework to make it possible
to clean up fbdev midway.
This was tested by injecting errors at various points during the
initialization sequence and verifying that error cleanup didn't crash
and no memory leaked (using kmemleak).
Reported-by: Stéphane Marchesin <[email protected]>
Reported-by: Sean Paul <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions