linux-yocto/drivers/platform/x86/hp/hp-bioscfg
Andy Shevchenko c5288cda69
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>
2024-06-03 14:51:36 +03:00
..
biosattr-interface.c platform/x86: hp-bioscfg: Annotate struct bios_args with __counted_by 2023-09-26 16:00:56 +03:00
bioscfg.c platform/x86: make fw_attr_class constant 2024-03-12 12:48:13 +02:00
bioscfg.h
enum-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
int-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
order-list-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
passwdobj-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
spmobj-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
string-attributes.c platform/x86: hp: hp-bioscfg: Use 2-argument strscpy() 2024-06-03 14:51:36 +03:00
surestart-attributes.c platform/x86: hp-bioscfg: surestart-attributes 2023-07-10 14:41:28 +02:00