diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-12-23 10:40:56 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-01-09 09:51:56 +0100 |
commit | f2193bb2ee6e21d9c2da10ea3ce63b94aea69341 (patch) | |
tree | 8c4f8bad17bfae6f6741862282242635ca0a7600 /drivers/usb/cdns3/cdns3-debug.h | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) |
parisc: pdc_stable: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer.
That's now the recommended way to copy NUL-terminated strings.
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions