summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-10-05 15:58:27 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-10-10 11:22:55 -0700
commit68c2d645ebbd4a636cf93ed56f15912bcf9376bc (patch)
tree3c354cf031fb542d0471b1d44116b6ee49feea64 /drivers/lightnvm/rrpc.c
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadlinux-68c2d645ebbd4a636cf93ed56f15912bcf9376bc.tar.gz
linux-68c2d645ebbd4a636cf93ed56f15912bcf9376bc.tar.bz2
linux-68c2d645ebbd4a636cf93ed56f15912bcf9376bc.zip
remoteproc: imx_rproc: fix a couple off by one bugs
The priv->mem[] array has IMX7D_RPROC_MEM_MAX elements so the > should be >= to avoid writing one element beyond the end of the array. Fixes: a0ff4aa6f010 ("remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/lightnvm/rrpc.c')
0 files changed, 0 insertions, 0 deletions