diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-26 23:47:42 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:02 +0200 |
| commit | a73e584b9e74f93e08914fdf9908d8581292fd26 (patch) | |
| tree | 6bfca2721b04c08e1267a26c711df9b8b3461b33 /scripts/gdb/linux/modules.py | |
| parent | a17d1e1927264aafccdee1755a2067775ca46b01 (diff) | |
msm: thermal: Fix strlcpy usage in fetch_cpu_mitigaiton_info
Clang warns:
../drivers/thermal/msm_thermal.c:6355:11: warning: size argument in
'strlcpy' call appears to be size of the source; expected the size of
the destination [-Wstrlcpy-strlcat-size]
strlen(sensor_name) + 1);
~~~~~~~^~~~~~~~~~~~~~~~
Fixes: b68798fafa4e ("soc: qcom: Snapshot of thermal/LMH drivers")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
