diff options
author | 2024-06-02 11:57:59 +0300 | |
---|---|---|
committer | 2024-06-03 14:51:44 +0300 | |
commit | 4894c364d502d44d7979d272aa49e3ffaf12f05c (patch) | |
tree | 86eec4536795734b6b80f36d0bf788ebcb69c848 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | platform/x86: think-lmi: Use 2-argument strscpy() (diff) | |
download | wireguard-linux-4894c364d502d44d7979d272aa49e3ffaf12f05c.tar.xz wireguard-linux-4894c364d502d44d7979d272aa49e3ffaf12f05c.zip |
platform/x86: thinkpad_acpi: Use 2-argument strscpy()
Use 2-argument strscpy(), which is not only shorter but also provides
an additional check that destination buffer is an array.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240602090244.1666360-7-andy.shevchenko@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions