Skip to contentSkip to conversation

linux-next: build failure after merge of the dma-buf tree

DISCUSSION Stephen Rothwell 3 participants 3 messages May 20, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hi Sumit,

After merging the dma-buf tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/tegra/gem.c: In function 'tegra_gem_prime_export':
drivers/gpu/drm/tegra/gem.c:423:15: error: macro "dma_buf_export" requires 5 arguments, but only 4 given drivers/gpu/drm/tegra/gem.c:422:9: error: 'dma_buf_export' undeclared (first use in this function)

Caused by commit 8dfb1f0f8103 ("dma-buf: use reservation objects"). Grep is your friend ...

I have use the dma-buf tree from next-20140519 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hey,

op 20-05-14 09:13, Stephen Rothwell schreef:

Quoted 5 lines

Hi Sumit,

After merging the dma-buf tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Quoted 8 lines

drivers/gpu/drm/tegra/gem.c: In function 'tegra_gem_prime_export':
drivers/gpu/drm/tegra/gem.c:423:15: error: macro "dma_buf_export" requires 5 arguments, but only 4 given drivers/gpu/drm/tegra/gem.c:422:9: error: 'dma_buf_export' undeclared (first use in this function)

Caused by commit 8dfb1f0f8103 ("dma-buf: use reservation objects"). Grep is your friend ...

I have use the dma-buf tree from next-20140519 for today.

sumits can you amend the commit?
---

drivers/gpu/drm/tegra/gem.c +1 -1
index bcf9895cef9f..1e9de41a14ea 100644
@@ -419,7 +419,7 @@ struct dma_buf *tegra_gem_prime_export(struct drm_device *drm,
 				       int flags)
 {
 	return dma_buf_export(gem, &tegra_gem_prime_dmabuf_ops, gem->size,
-			      flags);
+			      flags, NULL);
 }
 
 struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm,
#2 lore raw
Quoted 15 lines · Maarten Lankhorst

Hey,

op 20-05-14 09:13, Stephen Rothwell schreef:

Quoted 11 lines

Hi Sumit,

After merging the dma-buf tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/gpu/drm/tegra/gem.c: In function 'tegra_gem_prime_export':
drivers/gpu/drm/tegra/gem.c:423:15: error: macro "dma_buf_export" requires 5 arguments, but only 4 given drivers/gpu/drm/tegra/gem.c:422:9: error: 'dma_buf_export' undeclared (first use in this function)

Quoted 7 lines
Quoted 4 lines

Caused by commit 8dfb1f0f8103 ("dma-buf: use reservation objects"). Grep is your friend ...

I have use the dma-buf tree from next-20140519 for today.

sumits can you amend the commit?

Hey Maarten,
Yes, I'll amend it and push.

Quoted 16 lines

---

drivers/gpu/drm/tegra/gem.c +1 -1
index bcf9895cef9f..1e9de41a14ea 100644
@@ -419,7 +419,7 @@ struct dma_buf *tegra_gem_prime_export(struct drm_device
 *drm,
                                       int flags)
 {
        return dma_buf_export(gem, &tegra_gem_prime_dmabuf_ops, gem->size,
-                             flags);
+                             flags, NULL);
 }
  struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm,
Signature · 5 lines
Thanks and regards,

Sumit Semwal
Graphics Engineer - Graphics working group
Linaro.org │ Open source software for ARM SoCs