summaryrefslogtreecommitdiff
path: root/AndroidKernel.mk
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-09-26 23:39:10 -0700
committerDavide Garberi <dade.garberi@gmail.com>2021-10-07 20:13:49 +0200
commitccabaecbbeb04a1c2b7775e0043e2df195167a98 (patch)
treebc05de12869039c6ad232b7e1c86fb2831e29479 /AndroidKernel.mk
parent8d97822e58b85e32c14ae4130fc524e4e31d4a68 (diff)
thermal: tsens: Avoid implicit enum conversions in th_state fieldslineage-18.1
Clang warns: ../drivers/thermal/msm-tsens.c:998:41: warning: implicit conversion from enumeration type 'enum thermal_trip_activation_mode' to different enumeration type 'enum thermal_device_mode' [-Wenum-conversion] debug_thr_state_copy.crit_th_state = mode; ~ ^~~~ ../drivers/thermal/msm-tsens.c:1012:41: warning: implicit conversion from enumeration type 'enum thermal_trip_activation_mode' to different enumeration type 'enum thermal_device_mode' [-Wenum-conversion] debug_thr_state_copy.high_th_state = mode; ~ ^~~~ ../drivers/thermal/msm-tsens.c:1028:40: warning: implicit conversion from enumeration type 'enum thermal_trip_activation_mode' to different enumeration type 'enum thermal_device_mode' [-Wenum-conversion] debug_thr_state_copy.low_th_state = mode; ~ ^~~~ ../drivers/thermal/msm-tsens.c:1074:42: warning: implicit conversion from enumeration type 'enum thermal_trip_activation_mode' to different enumeration type 'enum thermal_device_mode' [-Wenum-conversion] debug_thr_state_copy.high_th_state = mode; ~ ^~~~ ../drivers/thermal/msm-tsens.c:1085:41: warning: implicit conversion from enumeration type 'enum thermal_trip_activation_mode' to different enumeration type 'enum thermal_device_mode' [-Wenum-conversion] debug_thr_state_copy.low_th_state = mode; ~ ^~~~ 5 warnings generated. Fixes: 2021d15137a3 ("thermal: tsens: Enable TSENS") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Change-Id: Ib06c8a57d7227da64684c4fa21ac2b9828034e28
Diffstat (limited to 'AndroidKernel.mk')
0 files changed, 0 insertions, 0 deletions