]> www.infradead.org Git - users/hch/misc.git/commit
hamradio: baycom: replace strcpy() with strscpy()
authorEthan Carter Edwards <ethan@ethancedwards.com>
Sun, 9 Feb 2025 04:06:21 +0000 (23:06 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Feb 2025 00:23:38 +0000 (16:23 -0800)
commit3b147be9ef08247bb74a801b4e95f9a626a27322
tree7e1385768f5ecd0a45bbbe966ac24aba72993e13
parentb341f6fd45abb188653d9e0a2816bc53d64278b1
hamradio: baycom: replace strcpy() with strscpy()

The strcpy() function has been deprecated and replaced with strscpy().
There is an effort to make this change treewide:
https://github.com/KSPP/linux/issues/88.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/3qo3fbrak7undfgocsi2s74v4uyjbylpdqhie4dohfoh4welfn@joq7up65ug6v
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/hamradio/baycom_par.c
drivers/net/hamradio/baycom_ser_fdx.c
drivers/net/hamradio/baycom_ser_hdx.c