diff options
author | 2024-06-02 11:57:55 +0300 | |
---|---|---|
committer | 2024-06-03 14:51:36 +0300 | |
commit | c5288cda69ee2d8607f5026bd599a5cebf0ee783 (patch) | |
tree | 9e62ee51cb7ed544f4b7b9ea833a816364a40752 /tools/perf/scripts/python | |
parent | platform/x86: asus-tf103c-dock: Use 2-argument strscpy() (diff) | |
download | wireguard-linux-c5288cda69ee2d8607f5026bd599a5cebf0ee783.tar.xz wireguard-linux-c5288cda69ee2d8607f5026bd599a5cebf0ee783.zip |
platform/x86: hp: hp-bioscfg: 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-3-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')
0 files changed, 0 insertions, 0 deletions