diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-06-26 13:34:37 +0300 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2020-08-11 04:16:02 +0300 |
commit | 1d2c0c565bc0da25f5e899a862fb58e612b222df (patch) | |
tree | 07d1da74243dafba34daf8466d940024b82eea29 /drivers/gpu/drm/vgem | |
parent | 4f88b4ccb7036ce523b3c031d1226d6eda36417b (diff) | |
download | linux-1d2c0c565bc0da25f5e899a862fb58e612b222df.tar.xz |
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 <dan.carpenter@oracle.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vgem')
0 files changed, 0 insertions, 0 deletions