mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
drm: fix _DRM_GEM addmap error message
Fix the error message: this is add, not rm. Move the closing brace to proper spot: _DRM_GEM branch should not be included in the block. Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9b1596af17
commit
812c369dbf
1 changed files with 3 additions and 3 deletions
|
@ -310,10 +310,10 @@ static int drm_addmap_core(struct drm_device * dev, resource_size_t offset,
|
|||
(unsigned long long)map->offset, map->size);
|
||||
|
||||
break;
|
||||
case _DRM_GEM:
|
||||
DRM_ERROR("tried to rmmap GEM object\n");
|
||||
break;
|
||||
}
|
||||
case _DRM_GEM:
|
||||
DRM_ERROR("tried to addmap GEM object\n");
|
||||
break;
|
||||
case _DRM_SCATTER_GATHER:
|
||||
if (!dev->sg) {
|
||||
kfree(map);
|
||||
|
|
Loading…
Reference in a new issue