diff options
| author | Axel Lin <axel.lin@gmail.com> | 2010-06-10 12:06:40 +0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 17:48:47 +0400 |
| commit | dfec5c48cdfdcb08d73d24cbf277de543ef864ae (patch) | |
| tree | 49286224b8cc935b9b2f914e185960f69a34f5c8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 35f2915c3bd0cd6950bdd9d461de565e8feae852 (diff) | |
| download | linux-dfec5c48cdfdcb08d73d24cbf277de543ef864ae.tar.xz | |
hp-wmi: add error handling for hp_wmi_init
Current implementation in hp_wmi_init does not check any error and always
return success.
This patch properly handles recource reclaim and return err in error path.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
