diff options
author | Dave Airlie <airlied@redhat.com> | 2013-05-01 04:23:41 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-05-01 06:09:31 (GMT) |
commit | b11b88ef0e07a1ea9a3df6666ba8e15833facc67 (patch) | |
tree | 7561ab57f47d76aca4d48edd5e6eceaf2140bd87 /drivers/gpu | |
parent | 98b76231d7ef49c71c7fea354f00c619ab2c1be4 (diff) | |
download | linux-b11b88ef0e07a1ea9a3df6666ba8e15833facc67.tar.xz |
drm/i915: fix dmabuf vmap support
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_dmabuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_dmabuf.c b/drivers/gpu/drm/i915/i915_gem_dmabuf.c index 30485e9..dc53a52 100644 --- 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); |