History

Merge tag 'ntb-4.1' of git://github.com/jonmason/ntb

Pull NTB fixes from Jon Mason: "I apologize for the tardiness of this request. Here are a couple of last minute NTB bug fixes for v4.1: NTB bug fixes to address issues in unmapping the MW reg base and vbase, and an uninitialized variable on Atom platforms" * tag 'ntb-4.1' of git://github.com/jonmason/ntb: ntb: initialize max_mw for Atom before using it ntb: iounmap MW reg and vbase in error path

Linus Torvalds committed 11 years ago

Commit dc751172 parents 1f1e34f ebaad131 file · +2 −1Browse files

Unified · Split

drivers/ntb/ntb_hw.c+2−1
@@ -1660,6 +1660,7 @@ static int ntb_atom_detect(struct ntb_device *ndev) · 1659 unmodified lines
16601660 u32 ppd;
16611661
16621662 ndev->hw_type = BWD_HW;
1663+ ndev->limits.max_mw = BWD_MAX_MW;
16631664
16641665 rc = pci_read_config_dword(ndev->pdev, NTB_PPD_OFFSET, &ppd);
16651666 if (rc)
@@ -1778,7 +1779,7 @@ static int ntb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) · 112 unmodified lines
17781779 dev_warn(&pdev->dev, "Cannot remap BAR %d\n",
17791780 MW_TO_BAR(i));
17801781 rc = -EIO;
1781− goto err3;
1782+ goto err4;
17821783 }
17831784 }
17841785

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t