]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq/proc: Replace snprintf with strscpy in register_handler_proc
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 27 Jan 2026 22:49:49 +0000 (23:49 +0100)
committerThomas Gleixner <tglx@kernel.org>
Fri, 30 Jan 2026 07:53:53 +0000 (08:53 +0100)
commit2dfc417414c6eea4e167b2f46283cded846c531a
tree06fd91ed38a021225593f9e22e0b0559e55fed91
parentdd9f6d30c64001ca4dde973ac04d8d155e856743
genirq/proc: Replace snprintf with strscpy in register_handler_proc

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

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260127224949.441391-2-thorsten.blum@linux.dev
kernel/irq/proc.c