]> git.ipfire.org Git - thirdparty/linux.git/commit
w1: ds28e17: Replace deprecated strcpy + strcat in w1_f19_add_slave
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 9 Oct 2025 17:45:12 +0000 (19:45 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Oct 2025 00:19:03 +0000 (02:19 +0200)
commitf3c6353d801a9826e234ad477af08b09a98d888b
tree787b0b61eb053ea23a8de9407eae61fa1654ec76
parentc6d0c9cae7eea0a029b5961d896c016d1467d03d
w1: ds28e17: Replace deprecated strcpy + strcat in w1_f19_add_slave

strcpy() is deprecated and using strcat() is discouraged. Replace them with
scnprintf().  No functional changes.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/w1/slaves/w1_ds28e17.c