Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142753
b: refs/heads/master
c: d614166
h: refs/heads/master
i:
  142751: 50fd761
v: v3
  • Loading branch information
Anton Vorontsov authored and Jesse Barnes committed Apr 6, 2009
1 parent 6463d2b commit 1ed2f07
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: 0cdbe30f0b04466a1fee11b81b3667bd1b982549
refs/heads/master: d6141668c24d7d75c3486499c05a6b382cbc2bbe
3 changes: 2 additions & 1 deletion trunk/drivers/pci/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ int pci_vpd_truncate(struct pci_dev *dev, size_t size)
return -EINVAL;

dev->vpd->len = size;
dev->vpd->attr->size = size;
if (dev->vpd->attr)
dev->vpd->attr->size = size;

return 0;
}
Expand Down

0 comments on commit 1ed2f07

Please sign in to comment.