mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
drm: fix typo on code drm getsarea
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
da509d7a02
commit
6f710105f5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue