diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-19 12:24:17 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2025-08-29 22:34:30 +0200 |
commit | 51f96bff04b05ee0683471fa33b11cce414e4b56 (patch) | |
tree | ff8cb8c3c44757d8fcab27fe46ffcbc3a9428f1f /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | b7c1ee2dfe03c106a391cdbcba8d41e23c4b1bcb (diff) |
MIPS: RB532: Replace deprecated strcpy() with memcpy() and strscpy()
strcpy() is deprecated; use memcpy() and strscpy() instead.
Add the local variable 'size_t len' to keep track of the string lengths
and prefer memcpy() over strscpy() when we use the string length to
advance the 'cp' pointer.
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_datapath.c')
0 files changed, 0 insertions, 0 deletions