diff options
| author | Laurent FERT <[email protected]> | 2016-02-15 19:11:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-20 14:09:14 -0800 |
| commit | 2bed074aade2caa9c350121837c55189a8fd197e (patch) | |
| tree | 58fc1c1a2d93f03461fd702c8ae6c1a0a70e611a /tools/perf/scripts/python/syscall-counts.py | |
| parent | e4eca2a1c71fda33cd8b5aacc7744176e440f80d (diff) | |
intel_th: msu: Release resources on read error
Right now, reading from msc character device will leak its's user count
on read error.
This patch makes sure resources are released when there is no data left
to read from the buffer.
Signed-off-by: Laurent FERT <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions