diff options
| author | Xu Panda <[email protected]> | 2022-12-09 07:33:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-12-12 10:00:55 +0000 |
| commit | 94d30e8933382184b257e94ac0d020d3f56ed614 (patch) | |
| tree | dc430e1e0ebc73545a1339ec97fdfb6fb6e63475 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | net: stmmac: Add check for taprio basetime configuration (diff) | |
| download | kernel-94d30e8933382184b257e94ac0d020d3f56ed614.tar.gz kernel-94d30e8933382184b257e94ac0d020d3f56ed614.zip | |
hns: 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]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
