diff options
| author | Andy Shevchenko <[email protected]> | 2024-06-02 08:58:00 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-06-03 09:12:38 +0000 |
| commit | 55624db051c8bdd39acbb1f35774c3f7b97c07b8 (patch) | |
| tree | 06e48f8bd589caf3f4d257bfb0cebda5744a2cd5 /drivers/platform/x86/intel/smartconnect.c | |
| parent | platform/x86: touchscreen_dmi: Drop "silead,max-fingers" property (diff) | |
| download | kernel-55624db051c8bdd39acbb1f35774c3f7b97c07b8.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/smartconnect.c')
0 files changed, 0 insertions, 0 deletions
