[SCSI] mptfusion: release resources in error return path
authorTomas Henzl <thenzl@redhat.com>
Mon, 26 Jul 2010 14:41:13 +0000 (16:41 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:07:48 +0000 (09:07 -0500)
commit653c42d552d0fd0b05485442aed45dd2d62269c0
tree14c99b23b544b4e111c7b1fd6d2804c94e2ae1d7
parent943a2df8c8fb95a9d4243d4878db1c302ff85725
[SCSI] mptfusion: release resources in error return path

We should release the resources in error return code path.
The requested pci bars should be released under an error condition,
when mpt_mapresources fails.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: "Desai, Kashyap" <Kashyap.Desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptbase.c