| commit | 63af8e44eaa56ffe613628742a2642c4c2f1a029 | [log] [tgz] |
|---|---|---|
| author | Bjorn Andersson <bjorn.andersson@linaro.org> | Thu Jun 09 17:22:56 2016 -0700 |
| committer | Andy Gross <andy.gross@linaro.org> | Fri Jun 24 13:34:00 2016 -0500 |
| tree | 9c8fb55184165a30173cd401a3ba514122ceb33e | |
| parent | 6be2b3d0848d1ed3e78e416cc4ae9007e85c7533 [diff] |
soc: qcom: smp2p: Correct addressing of outgoing value
The valid_entries index should not be incremented until after we have
acquired the pointer to the value, or we will read and write data one
item off.
Fixes: 50e99641413e ("soc: qcom: smp2p: Qualcomm Shared Memory Point to Point")
Cc: stable@vger.kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>