aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_bufs.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-09-17 15:59:54 -0400
committerDave Airlie <airlied@redhat.com>2009-09-18 00:34:06 -0400
commit812c369dbf3b5a726b52bbfb8adbc230f3f81bcf (patch)
tree0a7d17dfcbda2bf55f296212311eab8e3c0a80ab /drivers/gpu/drm/drm_bufs.c
parent9b1596af17dc9bf38c304f69fb253d6cfa73d136 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/drm_bufs.c')
-rw-r--r--drivers/gpu/drm/drm_bufs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c
index 6246e3f3dad7..3d09e304f6f4 100644
--- a/drivers/gpu/drm/drm_bufs.c
+++ b/drivers/gpu/drm/drm_bufs.c
@@ -310,10 +310,10 @@ static int drm_addmap_core(struct drm_device * dev, resource_size_t offset,
310 (unsigned long long)map->offset, map->size); 310 (unsigned long long)map->offset, map->size);
311 311
312 break; 312 break;
313 }
313 case _DRM_GEM: 314 case _DRM_GEM:
314 DRM_ERROR("tried to rmmap GEM object\n"); 315 DRM_ERROR("tried to addmap GEM object\n");
315 break; 316 break;
316 }
317 case _DRM_SCATTER_GATHER: 317 case _DRM_SCATTER_GATHER:
318 if (!dev->sg) { 318 if (!dev->sg) {
319 kfree(map); 319 kfree(map);