projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73c1c9
)
drm/exynos: fixed exception to page allocation failure
author
Inki Dae
<inki.dae@samsung.com>
Mon, 9 Jul 2012 06:42:16 +0000
(15:42 +0900)
committer
Inki Dae
<inki.dae@samsung.com>
Fri, 27 Jul 2012 02:13:57 +0000
(11:13 +0900)
this patch corrects to deallocate the pages allocated already
at alloc_page failure.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_gem.c
b/drivers/gpu/drm/exynos/exynos_drm_gem.c
index
2da6cdb
..
f9efde4
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_gem.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_gem.c
@@
-118,7
+118,7
@@
struct page **exynos_gem_get_pages(struct drm_gem_object *obj,
return pages;
fail:
- while (
i--
)
+ while (
--i
)
__free_page(pages[i]);
drm_free_large(pages);