aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJonathan Lemon <[email protected]>2021-08-05 12:52:43 -0700
committerDavid S. Miller <[email protected]>2021-08-06 10:41:27 +0100
commitd12f23fa5142594796a0498d11b5f21463060dac (patch)
tree1b0bb70789aca4c8a7df7686401ad69c2f2bbbd4 /tools/perf/scripts/python/bin/stackcollapse-report
parent596690e9f4fc8f062a3f52b42071086721fd76fe (diff)
ptp: ocp: Fix the error handling path for the class device.
Move the put_device() call to the error handling path, so the device is released after the .release callback, avoiding a use-after-free. Signed-off-by: Jonathan Lemon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions