diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-04-23 17:48:20 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:06 +0200 |
| commit | f4e569d56adbce58a324ec358a50b5fdd1108e11 (patch) | |
| tree | eaa18618b31e19ad6d3dc9eba4de4e9d7e51cad0 /scripts/gdb/linux/lists.py | |
| parent | 15457b9a920613a525640e57305f8f04606ac5cb (diff) | |
drivers: soc: qcom: system_stats: Fix strlcpy usage
Clang warns:
../drivers/soc/qcom/system_stats.c:381:13: warning: size argument in
'strlcpy' call appears to be size of the source; expected the size of
the destination [-Wstrlcpy-strlcat-size]
strlen(master_name) + 1);
~~~~~~~^~~~~~~~~~~~~~~~
Fixes: 1d321eb86c2f ("drivers: soc: qcom: system_stats: Support for System stats")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions
