Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a192f60 authored by Mathieu Poirier's avatar Mathieu Poirier
Browse files

coresight: etb10: adjust read pointer only when needed



The read pointer (read_ptr) needs to be adjusted only if its value
has gone beyond the length of the memory buffer.

Reported-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bedffda8cad46bedb6880bb98c23c51c715216c3)
parent 6d1fcd0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment