]> Gentwo Git Trees - linux/.git/commit
cpuidle: riscv-sbi: Replace deprecated strcpy in sbi_cpuidle_init_cpu
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 21 Oct 2025 13:51:54 +0000 (15:51 +0200)
committerPaul Walmsley <pjw@kernel.org>
Tue, 28 Oct 2025 05:38:13 +0000 (23:38 -0600)
commit2e448567839c65768486d56612c88cb327d26050
tree7be42e4a49bf48b67917bda43d7af4ef344853b5
parent5228ed2c624449d1a53d1c84ba01c021d2df95c0
cpuidle: riscv-sbi: Replace deprecated strcpy in sbi_cpuidle_init_cpu

strcpy() is deprecated; use strscpy() instead.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20251021135155.1409-2-thorsten.blum@linux.dev
Signed-off-by: Paul Walmsley <pjw@kernel.org>
drivers/cpuidle/cpuidle-riscv-sbi.c