linux/arch/mips/loongson64
Thorsten Blum b7c1ee2dfe MIPS: Loongson64: Replace deprecated strcpy() with strscpy_pad()
strcpy() is deprecated; use strscpy_pad() instead.

strscpy_pad() already copies the source strings and zero-pads the tail
of the destination buffers, making the explicit initializations to zero
redundant. Remove them to ensure the buffers are only written to once.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2025-08-29 22:34:30 +02:00
..
Kconfig
Makefile
Platform
boardinfo.c MIPS: Loongson64: Replace deprecated strcpy() with strscpy_pad() 2025-08-29 22:34:30 +02:00
cop2-ex.c
cpucfg-emul.c
dma.c
env.c
hpet.c
init.c
numa.c
pm.c
reset.c
setup.c MIPS/Loongson: Fix build warnings about export.h 2025-07-02 13:31:43 +02:00
sleeper.S
smp.c
smp.h
time.c
vbios_quirk.c