summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-09-26 23:45:03 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:41:02 +0200
commita17d1e1927264aafccdee1755a2067775ca46b01 (patch)
tree95ab40125c5c5c4753f0fb3e23d7bb11f40f5226 /scripts/gdb/linux/lists.py
parent722c2dfad791dfca2b0517b32930be75b69a6581 (diff)
msm: thermal: Remove unnecessary parentheses in do_vdd_mx
Clang warns: ../drivers/thermal/msm_thermal.c:2806:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/thermal/msm_thermal.c:2806:15: note: remove extraneous parentheses around the comparison to silence this warning if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) { ~ ^ ~ ../drivers/thermal/msm_thermal.c:2806:15: note: use '=' to turn this equality comparison into an assignment if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) { ^~ = Fixes: b68798fafa4e ("soc: qcom: Snapshot of thermal/LMH drivers") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions