diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-03-30 12:31:52 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-04-08 12:52:10 +0200 |
commit | 5842ab76bbfadb37eaea91e53c1efe34ae504e4a (patch) | |
tree | 8ae3d0d184cd84084b1b08d6cbc477bda5c1d752 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | be54ffe0ab6636854d4bdc441223199fdf39bbdb (diff) |
drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
The dp->train_set[] for this driver is only two characters, not four so
this memsets too much. Fortunately, this ends up corrupting a struct
hole and not anything important.
Fixes: d76271d22694 ("drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/YGLwCBMotnrKZu6P@mwanda
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions