diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-19 12:23:19 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2025-08-29 22:34:30 +0200 |
commit | b7c1ee2dfe03c106a391cdbcba8d41e23c4b1bcb (patch) | |
tree | c9cd743f7c77a0f1cbbf531b460465b7c093cc8a /drivers/infiniband/hw/ionic/ionic_controlpath.c | |
parent | 6a1e6bf933b6216cc3eb731a14cd519c189d3a04 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_controlpath.c')
0 files changed, 0 insertions, 0 deletions