Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177125
b: refs/heads/master
c: d85ddd8
h: refs/heads/master
i:
  177123: faded8c
v: v3
  • Loading branch information
Julia Lawall authored and Roland Dreier committed Dec 9, 2009
1 parent 4fc5796 commit d4547b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: fa6c87d5104512bf73cf62162cec9ef6eba707c7
refs/heads/master: d85ddd835b33a9a0f2276ce068318da3fd1ad76a
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/hw/nes/nes.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ static int __devinit nes_probe(struct pci_dev *pcidev, const struct pci_device_i
spin_lock_init(&nesdev->indexed_regs_lock);

/* Remap the PCI registers in adapter BAR0 to kernel VA space */
mmio_regs = ioremap_nocache(pci_resource_start(pcidev, BAR_0), sizeof(mmio_regs));
mmio_regs = ioremap_nocache(pci_resource_start(pcidev, BAR_0),
pci_resource_len(pcidev, BAR_0));
if (mmio_regs == NULL) {
printk(KERN_ERR PFX "Unable to remap BAR0\n");
ret = -EIO;
Expand Down

0 comments on commit d4547b2

Please sign in to comment.