diff options
| author | Daniel Vetter <[email protected]> | 2020-03-23 15:49:09 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-26 15:18:11 +0100 |
| commit | ea3aa6203c6b5540c80527d6beae68063a0080c1 (patch) | |
| tree | 09e54741f863da5b88150f0f514787a1dc78b09a /tools/perf/scripts/python/stackcollapse.py | |
| parent | b6097727ae57dc782900e5955ac03c5d6158b28d (diff) | |
drm/v3d: Use drmm_add_final_kfree
With this we can drop the final kfree from the release function.
I also noticed that the unwind code is wrong, after drm_dev_init the
drm_device owns the v3d allocation, so the kfree(v3d) is a double-free.
Reorder the setup to fix this issue.
After a bit more prep in drivers and drm core v3d should be able to
switch over to devm_drm_dev_init, which should clean this up further.
Acked-by: Eric Anholt <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions