Files
linux/drivers/gpu/drm
Dan Carpenter 1d2c0c565b 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: d7e1958dbe ("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>
2020-08-11 03:16:02 +02:00
..
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-04-03 17:11:41 +02:00
2020-07-24 08:48:05 +10:00
2020-07-24 08:48:05 +10:00
2020-06-24 09:17:34 +02:00
2020-06-29 09:39:04 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-07-24 08:48:05 +10:00
2020-07-16 18:16:31 -04:00
2020-05-29 12:58:11 +02:00
2020-07-16 18:16:31 -04:00