summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorRajesh Kemisetti <rajeshk@codeaurora.org>2015-12-28 11:19:41 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:16:16 -0700
commit52939ea591795252c735ab9a42e023a21c81cba9 (patch)
treec62c7ea0a6d369e9a2069b9fa7524a689732e5e9 /include/linux/stackprotector.h
parent7dc9344963b2d81f692dd0a704fe30d5eeffdcff (diff)
msm: kgsl: BUG_ON only if address is not an error
_gpu_find_svm() makes a BUG_ON if the returned address is greater than ULONG_MAX. But in 32bit kernel, Error conditions would also make the comparison to be true. Because it compares address or error in unit64_t with ULONG_MAX which is in 32bit. Check whether returned address is an error before making the BUG_ON. Change-Id: I482b330db3e06a1bee31dd6931faf239a61f9ab8 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions