diff options
| author | Dan Carpenter <[email protected]> | 2017-10-05 12:58:27 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2017-10-10 18:22:55 +0000 |
| commit | 68c2d645ebbd4a636cf93ed56f15912bcf9376bc (patch) | |
| tree | 3c354cf031fb542d0471b1d44116b6ee49feea64 /net/unix/af_unix.c | |
| parent | Linux 4.14-rc1 (diff) | |
| download | kernel-68c2d645ebbd4a636cf93ed56f15912bcf9376bc.tar.gz kernel-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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
