diff options
author | 2022-07-14 16:39:32 +0100 | |
---|---|---|
committer | 2022-07-14 17:40:23 -0700 | |
commit | dbf0ae65bce48bf4c2b6d114cac10193ef050294 (patch) | |
tree | b83f04ac960fc0b0b53808398339288d1ac1b934 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | module: Modify module_flags() to accept show_state argument (diff) | |
download | linux-dev-dbf0ae65bce48bf4c2b6d114cac10193ef050294.tar.xz linux-dev-dbf0ae65bce48bf4c2b6d114cac10193ef050294.zip |
module: Use strscpy() for last_unloaded_module
The use of strlcpy() is considered deprecated [1].
In this particular context, there is no need to remain with strlcpy().
Therefore we transition to strscpy().
[1]: https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions