diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-12-28 04:44:11 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-28 11:00:17 +0300 |
commit | 6b90032c73405cd4da29ab914df11fd1be960b99 (patch) | |
tree | 38d960c0275cf9734f072c400b81a41c5371ee30 /tools/perf/scripts/python/task-analyzer.py | |
parent | 8d8cf163c8d8c93bccf0c70a133309693af9bf61 (diff) | |
download | linux-6b90032c73405cd4da29ab914df11fd1be960b99.tar.xz |
fbdev: atyfb: 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>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions