diff options
| author | Ewan D. Milne <emilne@redhat.com> | 2016-02-23 09:00:12 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
| commit | e8c61ecc1b1658f887e74a5be2cb9f9b79baa325 (patch) | |
| tree | ce3df6a7074e952abd7fb874628c4fa2700d4dfe /tools/perf/scripts/python | |
| parent | f50abb9b63b1d8773e1ce32115701c06416e6f91 (diff) | |
| download | cachepc-linux-e8c61ecc1b1658f887e74a5be2cb9f9b79baa325.tar.gz cachepc-linux-e8c61ecc1b1658f887e74a5be2cb9f9b79baa325.zip | |
mptbase: fixup error handling paths in mpt_attach()
mpt_attach() was not checking for the failure to create fw_event_q.
Also, iounmap() was not being called in all error cases after ioremap()
had been called by mpt_mapresources().
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reported-by: Insu Yun <wuninsu@gmail.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
