Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331410
b: refs/heads/master
c: 74a74b3
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Rusty Russell committed Sep 28, 2012
1 parent 9f9a41f commit 90c30b9
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5543a6ac31eb4bfd8d938db6b234ce833d14e04e
refs/heads/master: 74a74b376c997645b32a4fdf8e76705a00ae097a
4 changes: 3 additions & 1 deletion trunk/drivers/virtio/virtio_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,10 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev,
goto out_enable_device;

vp_dev->ioaddr = pci_iomap(pci_dev, 0, 0);
if (vp_dev->ioaddr == NULL)
if (vp_dev->ioaddr == NULL) {
err = -ENOMEM;
goto out_req_regions;
}

pci_set_drvdata(pci_dev, vp_dev);
pci_set_master(pci_dev);
Expand Down

0 comments on commit 90c30b9

Please sign in to comment.