]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: omap2: Replace scnprintf with strscpy in omap3_cpuinfo
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 24 Feb 2026 14:45:51 +0000 (15:45 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 6 Mar 2026 00:41:59 +0000 (16:41 -0800)
commit5156a8d92cebb531c320c7cec7e527e40232b922
tree35c9485f39f49044c8aa5c01b603cfe24c3f8379
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
ARM: omap2: Replace scnprintf with strscpy in omap3_cpuinfo

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

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://patch.msgid.link/20260224144552.585272-1-thorsten.blum@linux.dev
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/mach-omap2/id.c