Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361741
b: refs/heads/master
c: 067ed33
h: refs/heads/master
i:
  361739: 92b65e2
v: v3
  • Loading branch information
YoungJun Cho authored and Inki Dae committed Mar 20, 2013
1 parent c928909 commit 26296d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2779e1698c7dbf36a02a9922d216b4db0e212b8
refs/heads/master: 067ed3311f7961bef67551fa5115dbadf9a035f4
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_g2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev,
DMA_BIDIRECTIONAL);
if (ret < 0) {
DRM_ERROR("failed to map sgt with dma region.\n");
goto err_free_sgt;
goto err_sg_free_table;
}

g2d_userptr->dma_addr = sgt->sgl[0].dma_address;
Expand All @@ -467,8 +467,10 @@ static dma_addr_t *g2d_userptr_get_dma_addr(struct drm_device *drm_dev,

return &g2d_userptr->dma_addr;

err_free_sgt:
err_sg_free_table:
sg_free_table(sgt);

err_free_sgt:
kfree(sgt);
sgt = NULL;

Expand Down

0 comments on commit 26296d9

Please sign in to comment.