Re: [PATCH] dma-buf: Make mmap callback actually optional

2019-04-03 Thread Sumit Semwal
Hi Andrew, On Mon, 1 Apr 2019 at 20:38, Christian König wrote: > > Am 29.03.19 um 17:52 schrieb Andrew F. Davis: > > The docs state the callback is optional but it is not, make it optional. > > > > Signed-off-by: Andrew F. Davis > > Reviewed-by: Christian König Thanks for the patch; I will

Re: [PATCH] dma-buf: Make mmap callback actually optional

2019-04-01 Thread Christian König
Am 29.03.19 um 17:52 schrieb Andrew F. Davis: The docs state the callback is optional but it is not, make it optional. Signed-off-by: Andrew F. Davis Reviewed-by: Christian König --- drivers/dma-buf/dma-buf.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] dma-buf: Make mmap callback actually optional

2019-04-01 Thread Andrew F. Davis
On 4/1/19 2:13 AM, Daniel Vetter wrote: > On Fri, Mar 29, 2019 at 11:52:01AM -0500, Andrew F. Davis wrote: >> The docs state the callback is optional but it is not, make it optional. >> >> Signed-off-by: Andrew F. Davis > > There's a bunch of dummy mmap implementations we could remove with this,

Re: [PATCH] dma-buf: Make mmap callback actually optional

2019-04-01 Thread Daniel Vetter
On Fri, Mar 29, 2019 at 11:52:01AM -0500, Andrew F. Davis wrote: > The docs state the callback is optional but it is not, make it optional. > > Signed-off-by: Andrew F. Davis There's a bunch of dummy mmap implementations we could remove with this, would be nice to follow up. Reviewed-by:

[PATCH] dma-buf: Make mmap callback actually optional

2019-03-29 Thread Andrew F. Davis
The docs state the callback is optional but it is not, make it optional. Signed-off-by: Andrew F. Davis --- drivers/dma-buf/dma-buf.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c index