projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git]
/
drivers
/
remoteproc
/
remoteproc_core.c
diff --git
a/drivers/remoteproc/remoteproc_core.c
b/drivers/remoteproc/remoteproc_core.c
index
ee15c68
..
e756a0d
100644
(file)
--- a/
drivers/remoteproc/remoteproc_core.c
+++ b/
drivers/remoteproc/remoteproc_core.c
@@
-354,7
+354,7
@@
static void __rproc_free_vrings(struct rproc_vdev *rvdev, int i)
{
struct rproc *rproc = rvdev->rproc;
- for (i--; i > 0; i--) {
+ for (i--; i >= 0; i--) {
struct rproc_vring *rvring = &rvdev->vring[i];
int size = PAGE_ALIGN(vring_size(rvring->len, rvring->align));