Skip to content

Commit

Permalink
drm: fix typo on code drm getsarea
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie committed Jul 11, 2007
1 parent da509d7 commit 6f71010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f71010

Please sign in to comment.