drm/i915: fix dmabuf vmap support
Subsystems (2)
Dave Airlie
maintainerPATCH 1/1 drm/i915: fix dmabuf vmap support
From: Dave Airlie <[email protected]>
Sometimes that extra semicolon can really be hard to spot.
Cc Imre Deak <[email protected]>
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/i915/i915_gem_dmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_gem_dmabuf.c +1 -1
@@ -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 );
Signature · 1 line
1.8.1.2