diff options
author | Andy Shevchenko <[email protected]> | 2024-06-02 11:57:57 +0300 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2024-06-03 14:51:40 +0300 |
commit | 9a3291e930b0dba1efcdc2d0bd03626e97d7cc56 (patch) | |
tree | a165437301fcb4af837d617b4a327c971676c005 /scripts/gdb/linux | |
parent | 914d906aec96fc1881060b20f0d017a0f0f5ce5d (diff) |
platform/x86: serial-multi-instantiate: 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 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions