]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sparc: Replace deprecated strcpy() with strscpy() in domain services driver
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 22 Sep 2025 21:03:54 +0000 (23:03 +0200)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 26 Sep 2025 15:27:18 +0000 (17:27 +0200)
commitdcdba5966c1ef9a6890e03fdaaf1bd1a5b66ee75
treeaa9b360a122f3b8bdf7906019cb5545fbf3f207b
parent9040d7c77e4d920c190ee2154d76e9daf4406de6
sparc: Replace deprecated strcpy() with strscpy() in domain services driver

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

In ldom_set_var(), use pr_err() instead of printk(KERN_ERR) to silence a
checkpatch warning.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/kernel/ds.c