diff options
| author | Xu Panda <[email protected]> | 2022-12-07 01:13:16 +0000 |
|---|---|---|
| committer | Dmitry Osipenko <[email protected]> | 2023-02-26 23:58:50 +0000 |
| commit | 8ac752463390882a5e73d85b141b68d5c259652d (patch) | |
| tree | d0712455402a008cd52d08a0d5d1f66992bf6142 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/edid: parse Tiled Display Topology Data Block for DisplayID 2.0 (diff) | |
| download | kernel-8ac752463390882a5e73d85b141b68d5c259652d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Yang Yang <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
