OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b7623
)
drm/i915: fix dmabuf vmap support
author
Dave Airlie
<airlied@redhat.com>
Wed, 1 May 2013 04:23:41 +0000
(14:23 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 1 May 2013 06:09:31 +0000
(16:09 +1000)
Sometimes that extra semicolon can really be hard to spot.
Acked-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem_dmabuf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_dmabuf.c
b/drivers/gpu/drm/i915/i915_gem_dmabuf.c
index
30485e9
..
dc53a52
100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_dmabuf.c
+++ b/
drivers/gpu/drm/i915/i915_gem_dmabuf.c
@@
-129,7
+129,7
@@
static void *i915_gem_dmabuf_vmap(struct dma_buf *dma_buf)
goto error;
i = 0;
- for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0)
;
+ for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0)
pages[i++] = sg_page_iter_page(&sg_iter);
obj->dma_buf_vmapping = vmap(pages, i, 0, PAGE_KERNEL);