mirror of https://github.com/torvalds/linux.git
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Platform | ||
| devices.c | ||
| gpio.c | ||
| irq.c | ||
| prom.c | ||
| serial.c | ||
| setup.c | ||
| time.c | ||