diff options
author | Muhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com> | 2024-09-15 21:38:21 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-11-05 23:35:36 +0300 |
commit | 107d55ef8df4892f310ff682dd801c6a831c34ca (patch) | |
tree | 8beab8251543f561c63e0d8384685cb2099c741a /drivers/clk/spear/clk-aux-synth.c | |
parent | 0dac2f74f31d55a6c1a877bd2ba6bf0ceb43b207 (diff) | |
download | linux-107d55ef8df4892f310ff682dd801c6a831c34ca.tar.xz |
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 <qasim.majeed20@gmail.com>
Link: https://patch.msgid.link/20240915183822.34588-9-qasim.majeed20@gmail.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/clk/spear/clk-aux-synth.c')
0 files changed, 0 insertions, 0 deletions