aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-07 09:13:16 +0800
committerDmitry Osipenko <dmitry.osipenko@collabora.com>2023-02-27 02:58:50 +0300
commit8ac752463390882a5e73d85b141b68d5c259652d (patch)
treed0712455402a008cd52d08a0d5d1f66992bf6142 /drivers/gpu/drm/lima/lima_gem.c
parentc5a486af9df7a7180d0f19fd4b6c801da64a154e (diff)
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/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions