aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-06-02 11:58:00 +0300
committerHans de Goede <[email protected]>2024-06-03 11:12:38 +0200
commit55624db051c8bdd39acbb1f35774c3f7b97c07b8 (patch)
tree06e48f8bd589caf3f4d257bfb0cebda5744a2cd5 /lib/memory-notifier-error-inject.c
parent84b26f509c1b9c8b3c3c63d75912701f151fd148 (diff)
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions