summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMuhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com>2024-09-15 23:38:18 +0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-05 21:35:36 +0100
commit04c2d3a9c4787596adc638957d9766c5ebbd3f4f (patch)
tree261bc65fe23ae47797398a958602651a031ff17e /tools/perf/scripts/python
parent9ff236786334d69dd85d8bc5c208fa31d458e1c7 (diff)
ACPI: power: Use strscpy() instead of strcpy()
Replace strcpy() with strscpy() in the ACPI power resource driver. 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 <qasim.majeed20@gmail.com> Link: https://patch.msgid.link/20240915183822.34588-6-qasim.majeed20@gmail.com [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions