Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261715
b: refs/heads/master
c: f170c68
h: refs/heads/master
i:
  261713: 4e764a0
  261711: af70a55
v: v3
  • Loading branch information
Julia Lawall authored and James Bottomley committed Jul 27, 2011
1 parent 562dfbc commit 8160b09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5b515445f4f5a905c5dd27e6e682868ccd6c09d
refs/heads/master: f170c684b55cb8d3bab55b1fb8fa812778d551f2
12 changes: 6 additions & 6 deletions trunk/drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -8778,14 +8778,14 @@ static int __devinit ipr_probe_ioa(struct pci_dev *pdev,
if (rc != PCIBIOS_SUCCESSFUL) {
dev_err(&pdev->dev, "Failed to save PCI config space\n");
rc = -EIO;
goto cleanup_nomem;
goto out_msi_disable;
}

if ((rc = ipr_save_pcix_cmd_reg(ioa_cfg)))
goto cleanup_nomem;
goto out_msi_disable;

if ((rc = ipr_set_pcix_cmd_reg(ioa_cfg)))
goto cleanup_nomem;
goto out_msi_disable;

if (ioa_cfg->sis64)
ioa_cfg->cfg_table_size = (sizeof(struct ipr_config_table_hdr64)
Expand All @@ -8800,7 +8800,7 @@ static int __devinit ipr_probe_ioa(struct pci_dev *pdev,
if (rc < 0) {
dev_err(&pdev->dev,
"Couldn't allocate enough memory for device driver!\n");
goto cleanup_nomem;
goto out_msi_disable;
}

/*
Expand Down Expand Up @@ -8845,10 +8845,10 @@ static int __devinit ipr_probe_ioa(struct pci_dev *pdev,

cleanup_nolog:
ipr_free_mem(ioa_cfg);
cleanup_nomem:
iounmap(ipr_regs);
out_msi_disable:
pci_disable_msi(pdev);
cleanup_nomem:
iounmap(ipr_regs);
out_release_regions:
pci_release_regions(pdev);
out_scsi_host_put:
Expand Down

0 comments on commit 8160b09

Please sign in to comment.