Skip to content
Snippets Groups Projects
Commit 41f1de6b authored by Sunil Khatri's avatar Sunil Khatri Committed by Thierry Strudel
Browse files

msm: kgsl: Cast perfcounter query count to an unsigned int


In adreno_perfcounter_query_group() make sure to cast the user passed
count to an unsigned int before comparing it to the group count.
Otherwise the user count could be interpeted as a signed int and
hilarity ensues.

Bug: 27364029
Change-Id: Ic0dedbad825f5b3fd4434f9b9f6d4d308206c0d9
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent b7da8eef
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment