msm: kgsl: Fix overflow check in mmap_range_valid
A eager compiler might optimize out the overflow check in
mmap_range_valid. Add a check against ULONG_MAX to ensure
that the check is performed.
CRs-fixed: 546373
Change-Id: Ic0dedbad478cc3bd65a00a7b31d2039095c005d6
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment