Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6018f9f8 authored by Maulik Shah's avatar Maulik Shah
Browse files

soc: qcom: rpm_master_stat: Fix buffer overflow



Buffer overflow can happen when finding next set bit
due to type casting of uint32_t to unsigned long.

Fix this to correctly print number of active cores in
rpm_master_stat.

Change-Id: Ibeacc5ac66535e373965d8f8e4919829367cc257
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent f5c81bb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment