]> git.ipfire.org Git - thirdparty/linux.git/commit
gpiolib: replace snprintf("%s") with strscpy
authorThorsten Blum <thorsten.blum@linux.dev>
Sun, 22 Feb 2026 17:03:27 +0000 (18:03 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 23 Feb 2026 09:42:55 +0000 (10:42 +0100)
commite8fc8588d06cf46cd7df622886e5a4be57442b65
tree6cf3f18bb84d6dd377cf830f49e828a9f8cd4570
parent0acbe817c37344f10cb413663be494ad66bf40bc
gpiolib: replace snprintf("%s") with strscpy

Replace snprintf("%s", ...) with strscpy() for direct string copying.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260222170327.281576-2-thorsten.blum@linux.dev
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpiolib.h