projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1596a
)
drm: fix _DRM_GEM addmap error message
author
Pekka Paalanen
<pq@iki.fi>
Thu, 17 Sep 2009 19:59:54 +0000
(22:59 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 18 Sep 2009 04:34:06 +0000
(14:34 +1000)
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>
drivers/gpu/drm/drm_bufs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_bufs.c
b/drivers/gpu/drm/drm_bufs.c
index 6246e3f3dad70af9767c0916f1938d4751ea7583..3d09e304f6f47c6ad91061761230b4c4ab7ccfb0 100644
(file)
--- 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,
(unsigned long long)map->offset, map->size);
break;
+ }
case _DRM_GEM:
- DRM_ERROR("tried to
rm
map GEM object\n");
+ DRM_ERROR("tried to
add
map GEM object\n");
break;
- }
case _DRM_SCATTER_GATHER:
if (!dev->sg) {
kfree(map);