Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68033
b: refs/heads/master
c: a56bc69
h: refs/heads/master
i:
  68031: 218e50d
v: v3
  • Loading branch information
Michael Ellerman authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 2fe07fe commit fb62553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 5b1ea82fa245d4be6409cdba7e522ecb0b966b3c
refs/heads/master: a56bc69a182f501582557af7fad5bc882b1c856c
3 changes: 1 addition & 2 deletions trunk/drivers/pci/pci-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ store_new_id(struct device_driver *driver, const char *buf, size_t count)
if (!dynid)
return -ENOMEM;

INIT_LIST_HEAD(&dynid->node);
dynid->id.vendor = vendor;
dynid->id.device = device;
dynid->id.subvendor = subvendor;
Expand All @@ -65,7 +64,7 @@ store_new_id(struct device_driver *driver, const char *buf, size_t count)
driver_data : 0UL;

spin_lock(&pdrv->dynids.lock);
list_add_tail(&pdrv->dynids.list, &dynid->node);
list_add_tail(&dynid->node, &pdrv->dynids.list);
spin_unlock(&pdrv->dynids.lock);

if (get_driver(&pdrv->driver)) {
Expand Down

0 comments on commit fb62553

Please sign in to comment.