diff options
| author | Thierry Reding <[email protected]> | 2013-10-30 11:59:05 +0100 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2013-10-31 06:33:49 +1000 |
| commit | 9d6104e0174b130ed864571b31811c3fd09fd611 (patch) | |
| tree | 00ac8c1893076529a62f90cf2a236ef338d16fd3 /tools/perf/scripts/python/futex-contention.py | |
| parent | be51e4a78155ff6c5d9299bf726e86b554e21117 (diff) | |
drm/sysfs: Do not drop device reference twice
device_unregister() already drops its reference to the struct device, so
explicitly calling put_device() before device_unregister() can cause the
device to have been freed before it can be unregistered.
Signed-off-by: Thierry Reding <[email protected]>
Reviewed-by: Paulo Zanoni <[email protected]>
Tested-by: Paulo Zanoni <[email protected]>
Tested-by: Ben Widawsky <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions