aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-06-26 10:34:37 +0000
committerRoland Scheidegger <[email protected]>2020-08-11 01:16:02 +0000
commit1d2c0c565bc0da25f5e899a862fb58e612b222df (patch)
tree07d1da74243dafba34daf8466d940024b82eea29 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/vmwgfx: Use struct_size() helper (diff)
downloadkernel-1d2c0c565bc0da25f5e899a862fb58e612b222df.tar.gz
kernel-1d2c0c565bc0da25f5e899a862fb58e612b222df.zip
drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
The "entry" pointer is an offset from the list head and it doesn't point to a valid vmw_legacy_display_unit struct. Presumably the intent was to point to the last entry. Also the "i++" wasn't used so I have removed that as well. Fixes: d7e1958dbe4a ("drm/vmwgfx: Support older hardware.") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions