Commit 6f710105 authored by Dave Airlie's avatar Dave Airlie

drm: fix typo on code drm getsarea

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent da509d7a
......@@ -522,7 +522,7 @@ drm_local_map_t *drm_getsarea(struct drm_device *dev)
{
drm_map_list_t *entry;
list_for_each_entry(entry, &dev->maplist->head, head) {
list_for_each_entry(entry, &dev->maplist, head) {
if (entry->map && entry->map->type == _DRM_SHM &&
(entry->map->flags & _DRM_CONTAINS_LOCK)) {
return entry->map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment