diff options
author | 2024-06-02 11:58:00 +0300 | |
---|---|---|
committer | 2024-06-03 11:12:38 +0200 | |
commit | 55624db051c8bdd39acbb1f35774c3f7b97c07b8 (patch) | |
tree | 06e48f8bd589caf3f4d257bfb0cebda5744a2cd5 /scripts/generate_rust_analyzer.py | |
parent | platform/x86: touchscreen_dmi: Drop "silead,max-fingers" property (diff) | |
download | linux-rng-55624db051c8bdd39acbb1f35774c3f7b97c07b8.tar.xz linux-rng-55624db051c8bdd39acbb1f35774c3f7b97c07b8.zip |
platform/x86: touchscreen_dmi: 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-8-andy.shevchenko@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions