Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142539
b: refs/heads/master
c: d407e32
h: refs/heads/master
i:
  142537: 0241a68
  142535: adb8d54
v: v3
  • Loading branch information
Anton Vorontsov authored and Linus Torvalds committed Apr 7, 2009
1 parent e1faabb commit cfc954d
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: 548cbdc858bb81d72fbcb91a196069559b2b4684
refs/heads/master: d407e32efe060afa2b9a797a91376ebc65b4ce11
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 cfc954d

Please sign in to comment.