diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-06-02 11:57:54 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-06-03 14:51:24 +0300 |
commit | 057e025a4f1c6f8612ddf19e621cf1b7c2e53c61 (patch) | |
tree | d364857e76d6f4eb44f4716c92d604fbd457f215 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d30f57b7413fc02d9899effd4084512603c134a7 (diff) | |
download | linux-057e025a4f1c6f8612ddf19e621cf1b7c2e53c61.tar.xz |
platform/x86: asus-tf103c-dock: 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>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240602090244.1666360-2-andy.shevchenko@gmail.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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions