diff options
| author | 2026-09-15 05:56:13 -0700 | |
|---|---|---|
| committer | 2026-09-16 14:42:22 +0200 | |
| commit | 68a385dbe05fd8da69ec8a7753591fd653f97d89 (patch) | |
| tree | f8048cc556180e65c068d56c2345e7059ea6f1b4 /scripts | |
| parent | Linux 7.3-rc3 (diff) | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
