diff options
author | Ewan D. Milne <emilne@redhat.com> | 2016-02-23 17:00:12 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-24 05:27:02 +0300 |
commit | e8c61ecc1b1658f887e74a5be2cb9f9b79baa325 (patch) | |
tree | ce3df6a7074e952abd7fb874628c4fa2700d4dfe /drivers/message/fusion/mptsas.h | |
parent | f50abb9b63b1d8773e1ce32115701c06416e6f91 (diff) | |
download | linux-e8c61ecc1b1658f887e74a5be2cb9f9b79baa325.tar.xz |
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 'drivers/message/fusion/mptsas.h')
0 files changed, 0 insertions, 0 deletions