summaryrefslogtreecommitdiff
path: root/include/linux/hrtimer_api.h
diff options
context:
space:
mode:
authorRuslan Vagner <rusya92266@gmail.com>2026-09-15 05:56:13 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-16 14:42:22 +0200
commit68a385dbe05fd8da69ec8a7753591fd653f97d89 (patch)
treef8048cc556180e65c068d56c2345e7059ea6f1b4 /include/linux/hrtimer_api.h
parentfd73f4a6659897191fa0d40695fe370925dd3780 (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 'include/linux/hrtimer_api.h')
0 files changed, 0 insertions, 0 deletions