Commit 653c42d
[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>1 parent 943a2df commit 653c42d
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1635 | 1635 | | |
1636 | 1636 | | |
1637 | 1637 | | |
| 1638 | + | |
1638 | 1639 | | |
1639 | 1640 | | |
1640 | 1641 | | |
| |||
1648 | 1649 | | |
1649 | 1650 | | |
1650 | 1651 | | |
| 1652 | + | |
1651 | 1653 | | |
1652 | 1654 | | |
1653 | 1655 | | |
| |||
1678 | 1680 | | |
1679 | 1681 | | |
1680 | 1682 | | |
| 1683 | + | |
1681 | 1684 | | |
1682 | 1685 | | |
1683 | 1686 | | |
| |||
0 commit comments