On 28/01/15 12:54, Sumit Semwal wrote:
At present, dma_buf_export() takes a series of parameters, which
makes it difficult to add any new parameters for exporters, if required.
Make it simpler by moving all these parameters into a struct, and pass
the struct * as parameter to
Hi Mauro,
On 28 January 2015 at 18:53, Mauro Carvalho Chehab
mche...@osg.samsung.com wrote:
Em Wed, 28 Jan 2015 18:24:03 +0530
Sumit Semwal sumit.sem...@linaro.org escreveu:
+/**
+ * helper macro for exporters; zeros and fills in most common values
+ */
+#define
Em Wed, 28 Jan 2015 18:24:03 +0530
Sumit Semwal sumit.sem...@linaro.org escreveu:
+/**
+ * helper macro for exporters; zeros and fills in most common values
+ */
+#define DEFINE_DMA_BUF_EXPORT_INFO(a)\
+ struct dma_buf_export_info a = { .exp_name = KBUILD_MODNAME }
+
I suspect
At present, dma_buf_export() takes a series of parameters, which
makes it difficult to add any new parameters for exporters, if required.
Make it simpler by moving all these parameters into a struct, and pass
the struct * as parameter to dma_buf_export().
While at it, unite
Op 28-01-15 om 13:54 schreef Sumit Semwal:
At present, dma_buf_export() takes a series of parameters, which
makes it difficult to add any new parameters for exporters, if required.
Make it simpler by moving all these parameters into a struct, and pass
the struct * as parameter to