summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-23 05:42:35 +0300
committerSebastian Reichel <sre@kernel.org>2023-02-03 15:43:48 +0300
commit3639dbd74e2e827d544bdb28b663a44449c014e1 (patch)
tree81f9cc14c990feb29af7714c8c35fd22d2bf4c97 /tools/perf/scripts/python/exported-sql-viewer.py
parente2b018cb55151cbee2c4b8f48ef731f0a683b9b6 (diff)
downloadlinux-3639dbd74e2e827d544bdb28b663a44449c014e1.tar.xz
power: supply: test-power: use strscpy() instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL-terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions