diff options
| author | Xu Panda <[email protected]> | 2022-12-09 07:38:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-12-12 21:00:00 +0000 |
| commit | 80a464d83f08cac5052c7f857fc067b3fe88071d (patch) | |
| tree | 5e5f0530a2df19f7022a3d10748a541824fa9e3f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | sctp: sysctl: make extra pointers netns aware (diff) | |
| download | kernel-80a464d83f08cac5052c7f857fc067b3fe88071d.tar.gz kernel-80a464d83f08cac5052c7f857fc067b3fe88071d.zip | |
net: hns3: 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 <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
