Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
ACPI: sysfs: use strscpy() instead of strcpy()
strcpy() is deprecated in the kernel, so use strscpy() with the compile-time known size of the trace_method_name buffer instead of it. The existing length check already rejects overlong input, so the behavior is unchanged. Signed-off-by: Ruslan Vagner <rusya92266@gmail.com> [ rjw: Changelog edits ] Link: https://patch.msgid.link/CAF9RqJ4ip_egVwRKnwn3=X-Qxuwz0u_9pNrgfujBw8RSf2DTPQ@mail.gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Author Ruslan Vagner Committer Rafael J. Wysocki Date (Sep 16, 2026, 12:42 PM UTC) Commit
Copy SHA
Parent fd73f4a6 fd73f4a6659897191fa0d40695fe370925dd3780