diff options
author | 2022-12-07 09:13:16 +0800 | |
---|---|---|
committer | 2023-02-27 02:58:50 +0300 | |
commit | 8ac752463390882a5e73d85b141b68d5c259652d (patch) | |
tree | d0712455402a008cd52d08a0d5d1f66992bf6142 /drivers/gpu/drm/amd/amdgpu | |
parent | drm/edid: parse Tiled Display Topology Data Block for DisplayID 2.0 (diff) | |
download | wireguard-linux-8ac752463390882a5e73d85b141b68d5c259652d.tar.xz wireguard-linux-8ac752463390882a5e73d85b141b68d5c259652d.zip |
drm/virtio: 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: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/202212070913161959936@zte.com.cn
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions