Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147961
b: refs/heads/master
c: ef688e1
h: refs/heads/master
i:
  147959: 1c95ab7
v: v3
  • Loading branch information
Rusty Russell committed Jun 12, 2009
1 parent 6f3de9c commit c5e29c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 20f77f5654042cf484d8964b618faf9d620f639b
refs/heads/master: ef688e151c00e5d529703be9a04fd506df8bc54e
7 changes: 4 additions & 3 deletions trunk/drivers/virtio/virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,14 @@ static int virtio_dev_probe(struct device *_d)
if (device_features & (1 << i))
set_bit(i, dev->features);

dev->config->finalize_features(dev);

err = drv->probe(dev);
if (err)
add_status(dev, VIRTIO_CONFIG_S_FAILED);
else {
dev->config->finalize_features(dev);
else
add_status(dev, VIRTIO_CONFIG_S_DRIVER_OK);
}

return err;
}

Expand Down

0 comments on commit c5e29c4

Please sign in to comment.