diff options
author | Muhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com> | 2024-09-02 00:18:26 +0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-09-03 16:29:16 +0200 |
commit | 7fcf82e7348766840e5e259488662751c6db22a7 (patch) | |
tree | ac363aa7cb0859c723824badd1c983dcbac08df1 /include/net/ipv6.h | |
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 <qasim.majeed20@gmail.com>
Link: https://patch.msgid.link/20240901191826.421488-1-qasim.majeed20@gmail.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/net/ipv6.h')
0 files changed, 0 insertions, 0 deletions