diff options
| author | Xu Panda <[email protected]> | 2022-12-26 19:03:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-17 19:24:57 +0100 |
| commit | 7097dc4e5b71cafd653cc2c1ed660f6e8f565480 (patch) | |
| tree | 5c356f1f90564a85c916321c275f7edeb1b45e63 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 471213a3776e18caf70aee694358511274e33e9a (diff) | |
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 <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions