diff options
| author | 2022-12-23 10:42:35 +0800 | |
|---|---|---|
| committer | 2023-02-03 13:43:48 +0100 | |
| commit | 3639dbd74e2e827d544bdb28b663a44449c014e1 (patch) | |
| tree | 81f9cc14c990feb29af7714c8c35fd22d2bf4c97 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | power: supply: bq27xxx: fix reporting critical level (diff) | |
power: supply: test-power: use strscpy() 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: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
