aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-06-02 11:57:59 +0300
committerIlpo Järvinen <[email protected]>2024-06-03 14:51:44 +0300
commit4894c364d502d44d7979d272aa49e3ffaf12f05c (patch)
tree86eec4536795734b6b80f36d0bf788ebcb69c848 /tools/perf/util/scripting-engines/trace-event-python.c
parent31edc07e4fa5d443e19c7912de91eb9c0555b231 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions