summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-26 19:03:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-17 19:24:57 +0100
commit7097dc4e5b71cafd653cc2c1ed660f6e8f565480 (patch)
tree5c356f1f90564a85c916321c275f7edeb1b45e63 /tools/perf/scripts/python/exported-sql-viewer.py
parent471213a3776e18caf70aee694358511274e33e9a (diff)
downloadlinux-7097dc4e5b71cafd653cc2c1ed660f6e8f565480.tar.gz
linux-7097dc4e5b71cafd653cc2c1ed660f6e8f565480.zip
staging: ks7010: use strscpy() to 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> Reviewed-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/202212261903245548969@zte.com.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions