msm: kgsl: Make sure gpu-speed-bin-vectors has the correct size
Total number of elements in the gpu-speed-bin-vectors array should be multiple of number of elements in a speed bin vector. If number of elements is not a multiple of vector size then there is a possibilty of out of bound access in the speed-bin vector array. Also rectify the memory allocated for it. Change-Id: I9158e4f883eca400a46663b07326fb6f6020155c Signed-off-by:Sunil Khatri <sunilkh@codeaurora.org> Signed-off-by:
Archana Sriram <apsrir@codeaurora.org>
Loading
Please register or sign in to comment