commit | e8c61ecc1b1658f887e74a5be2cb9f9b79baa325 | [log] [tgz] |
---|---|---|
author | Ewan D. Milne <emilne@redhat.com> | Tue Feb 23 09:00:12 2016 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Feb 23 21:27:02 2016 -0500 |
tree | ce3df6a7074e952abd7fb874628c4fa2700d4dfe | |
parent | f50abb9b63b1d8773e1ce32115701c06416e6f91 [diff] |
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>