Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362332
b: refs/heads/master
c: cde42e0
h: refs/heads/master
v: v3
  • Loading branch information
Sjur Brændeland authored and Ohad Ben-Cohen committed Apr 5, 2013
1 parent 0da6b34 commit 52364d8
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1cd425b660bd5b4f41b9175b0b7bf3828ce88144
refs/heads/master: cde42e076c1cdd69a1f955d66ff6596bad3d2105
4 changes: 3 additions & 1 deletion trunk/drivers/remoteproc/remoteproc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,12 @@ static int rproc_handle_vdev(struct rproc *rproc, struct fw_rsc_vdev *rsc,
/* it is now safe to add the virtio device */
ret = rproc_add_virtio_dev(rvdev, rsc->id);
if (ret)
goto free_rvdev;
goto remove_rvdev;

return 0;

remove_rvdev:
list_del(&rvdev->node);
free_rvdev:
kfree(rvdev);
return ret;
Expand Down

0 comments on commit 52364d8

Please sign in to comment.