]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bus: rifsc: Replace snprintf("%s") with strscpy
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 23 Feb 2026 21:12:11 +0000 (22:12 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:40:21 +0000 (17:40 +0100)
commita6e1842be2e4fd590136da5c100fbad6c3129d96
treecfc291b1f950acdd0fd06e4131973b0219778405
parent256b4efd98b1dcbe80e817a67b17c07becb80969
bus: rifsc: Replace snprintf("%s") with strscpy

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

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20260223211212.344855-1-thorsten.blum@linux.dev
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
drivers/bus/stm32_rifsc.c