summaryrefslogtreecommitdiff
path: root/drivers/thermal/gov_fair_share.c
diff options
context:
space:
mode:
authorHarshitha Prem <quic_hprem@quicinc.com>2023-04-03 21:41:55 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-04-17 13:28:31 +0300
commit41e02bf4ae32cf2ac47b08b4caaa9c1a032e4ce7 (patch)
treee1106ea3027c7ff38d92570c8e77996d29917db7 /drivers/thermal/gov_fair_share.c
parenta06bfb3c9f69f303692cdae87bc0899d2ae8b2a6 (diff)
downloadlinux-41e02bf4ae32cf2ac47b08b4caaa9c1a032e4ce7.tar.xz
wifi: ath11k: fix undefined behavior with __fls in dp
"__fls" would have an undefined behavior if the argument is passed as "0". Hence, added changes to handle the same. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 Signed-off-by: Harshitha Prem <quic_hprem@quicinc.com> Signed-off-by: Nagarajan Maran <quic_nmaran@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230403184155.8670-3-quic_nmaran@quicinc.com
Diffstat (limited to 'drivers/thermal/gov_fair_share.c')
0 files changed, 0 insertions, 0 deletions