From: Subramaniam Chanderashekarapuram Date: Sun, 13 May 2012 13:28:02 +0000 (+0300) Subject: remoteproc: fix off-by-one bug in __rproc_free_vrings X-Git-Tag: v3.4~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd98c124c66b0b0001bc4217392d891b1ad4a02;p=pandora-kernel.git 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: Subramaniam Chanderashekarapuram [ohad@wizery.com: reword commit log, stick with the for loop] Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed