summaryrefslogtreecommitdiff
path: root/kernel_headers.py
diff options
context:
space:
mode:
authorAbhishek Barman <quic_abarman@quicinc.com>2021-12-07 12:50:34 +0530
committerKamal Agrawal <quic_kamaagra@quicinc.com>2022-05-05 00:09:31 +0530
commitda8317596949c2d2f69c512db0cb93212e02e086 (patch)
treea0255d81ae90b5286d144b4ebb04543cf22d8161 /kernel_headers.py
parent2ed91a98d8b4ad9bafceeed171f33e5fb1376911 (diff)
msm: kgsl: Fix gpuaddr_in_range() to check upper bound
Currently gpuaddr_in_range() accepts only the gpuaddr & returns true if it lies in valid range. But this does not mean that the entire buffer is within range. Modify the function to accept size as a parameter and check that both starting & ending points of buffer lie within mmu range. Change-Id: I1d722295b9a27e746bfdb6d3bf409ffe722193cb Signed-off-by: Rohan Sethi <quic_rohsethi@quicinc.com> Signed-off-by: Abhishek Barman <quic_abarman@quicinc.com> Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
Diffstat (limited to 'kernel_headers.py')
0 files changed, 0 insertions, 0 deletions