commit | 71ffb5a22b49ad1c6266aad237cf8f1f5b13fe9a | [log] [tgz] |
---|---|---|
author | Tzung-Bi Shih <tzungbi@google.com> | Mon Nov 16 16:44:11 2020 +0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Fri Nov 20 21:45:34 2020 -0600 |
tree | a1f07e3e1a2df9d35aa90bd3de1ae80b98965bb7 | |
parent | 903635cbc75763a5ce78db60934494dd51a66778 [diff] |
remoteproc/mediatek: fix boundary check It is valid if offset+length == sram_size. For example, sram_size=100, offset=99, length=1. Accessing offset 99 with length 1 is valid. Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20201116084413.3312631-2-tzungbi@google.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>