diff options
author | Muhammad Qasim Abdul Majeed <[email protected]> | 2024-09-15 23:38:21 +0500 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-11-05 21:35:36 +0100 |
commit | 107d55ef8df4892f310ff682dd801c6a831c34ca (patch) | |
tree | 8beab8251543f561c63e0d8384685cb2099c741a /tools/perf/scripts/python | |
parent | 0dac2f74f31d55a6c1a877bd2ba6bf0ceb43b207 (diff) |
ACPI: scan: Use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in the ACPI device enumeration code.
strcpy() has been deprecated because it is generally unsafe, so it
is better 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions