]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sparc: floppy: Replace deprecated strcpy() with strscpy() in sun_floppy_init()
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 22 Sep 2025 21:03:52 +0000 (23:03 +0200)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 26 Sep 2025 15:26:52 +0000 (17:26 +0200)
commitc7ae5d73b7af5723e7590015a570cd3cd397290b
treeb36c4380077a25f3c660d2ec6ce4e10e6bb781f4
parent8ebfe29b710ba0c40531089ce649d0e4a776125a
sparc: floppy: Replace deprecated strcpy() with strscpy() in sun_floppy_init()

strcpy() is deprecated; use strscpy() instead.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/include/asm/floppy_64.h