diff options
author | Tzung-Bi Shih <[email protected]> | 2020-11-16 16:44:11 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-11-20 21:45:34 -0600 |
commit | 71ffb5a22b49ad1c6266aad237cf8f1f5b13fe9a (patch) | |
tree | a1f07e3e1a2df9d35aa90bd3de1ae80b98965bb7 /net/switchdev/switchdev.c | |
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 <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions