Skip to content
Commit d3a79f61 authored by Abhishek Barman's avatar Abhishek Barman Committed by Gerrit - the friendly Code Review server
Browse files

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: I5b0d021de7e59ffb6aec2ea77ae5c0e72872b3a1
Signed-off-by: default avatarAbhishek Barman <quic_abarman@quicinc.com>
parent a8989668
Please register or to comment