Skip to content
Commit 6fd98c12 authored by Subramaniam Chanderashekarapuram's avatar Subramaniam Chanderashekarapuram Committed by Ohad Ben-Cohen
Browse files

remoteproc: fix off-by-one bug in __rproc_free_vrings



Fix a nasty off-by-one bug in __rproc_free_vrings which
resulted in a memory leak and (for some platforms) failures
to reload the remote processor.

Signed-off-by: default avatarSubramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
[ohad@wizery.com: reword commit log, stick with the for loop]
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent d48b97b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment