]> git.ipfire.org Git - thirdparty/linux.git/commit
sparc: vio: Replace snprintf with strscpy in vio_create_one
authorThorsten Blum <thorsten.blum@linux.dev>
Sat, 31 Jan 2026 22:44:11 +0000 (23:44 +0100)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 6 Feb 2026 14:15:09 +0000 (15:15 +0100)
commit674fb053e95d63b4810142c3a2fa357353014d29
tree6592f9293705d2753fabe37caced003f1beac403
parent2153b2e8917b73e9e7fae8963f03b8e60bd8f5ff
sparc: vio: Replace snprintf with strscpy in vio_create_one

Replace snprintf("%s", ...) with the faster and more direct strscpy().

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/vio.c