diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-06-02 11:57:55 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-06-03 14:51:36 +0300 |
commit | c5288cda69ee2d8607f5026bd599a5cebf0ee783 (patch) | |
tree | 9e62ee51cb7ed544f4b7b9ea833a816364a40752 /drivers/platform/x86/uv_sysfs.c | |
parent | 057e025a4f1c6f8612ddf19e621cf1b7c2e53c61 (diff) |
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 'drivers/platform/x86/uv_sysfs.c')
0 files changed, 0 insertions, 0 deletions