diff options
author | Dave Airlie <airlied@redhat.com> | 2013-05-01 06:23:41 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-05-01 08:09:31 +0200 |
commit | b11b88ef0e07a1ea9a3df6666ba8e15833facc67 (patch) | |
tree | 7561ab57f47d76aca4d48edd5e6eceaf2140bd87 | |
parent | drm/prime: warn for non-empty handle lookup list during drm file release (diff) | |
download | linux-b11b88ef0e07a1ea9a3df6666ba8e15833facc67.tar.xz linux-b11b88ef0e07a1ea9a3df6666ba8e15833facc67.zip |
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>
-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 30485e9efcb7..dc53a527126b 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); |