diff options
author | Muhammad Qasim Abdul Majeed <[email protected]> | 2024-09-02 00:18:26 +0500 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-09-03 16:29:16 +0200 |
commit | 7fcf82e7348766840e5e259488662751c6db22a7 (patch) | |
tree | ac363aa7cb0859c723824badd1c983dcbac08df1 /lib/crypto/mpi/mpi-mod.c | |
parent | 1b9c2e94df1408e567f23641f6052af9a75614d1 (diff) |
ACPI: button: Use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in the ACPI button driver.
strcpy() has been deprecated because it is generally unsafe, so help to
eliminate it from the kernel source.
Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Muhammad Qasim Abdul Majeed <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions