Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231073
b: refs/heads/master
c: 99a0fad
h: refs/heads/master
i:
  231071: 7d0cc22
v: v3
  • Loading branch information
Tejun Heo authored and Jesse Barnes committed Dec 23, 2010
1 parent 3772ccc commit 6894592
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b444b36fee16d2aaae9cc91ce594ecb15d922a9
refs/heads/master: 99a0fadf561e1f553c08f0a29f8b2578f55dd5f0
3 changes: 3 additions & 0 deletions trunk/drivers/pci/pci-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ static int __init pci_stub_init(void)
subdevice = PCI_ANY_ID, class=0, class_mask=0;
int fields;

if (!strlen(id))
continue;

fields = sscanf(id, "%x:%x:%x:%x:%x:%x",
&vendor, &device, &subvendor, &subdevice,
&class, &class_mask);
Expand Down

0 comments on commit 6894592

Please sign in to comment.