Re: [Linaro-mm-sig] [PATCH] dma-buf: fix disabled vmap function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

On 25 May 2012 14:34, Dave Airlie <airlied@xxxxxxxxx> wrote:
> From: Dave Airlie <airlied@xxxxxxxxxx>
>
> include/linux/dma-buf.h: In function ‘dma_buf_vmap’:
> include/linux/dma-buf.h:260:1: warning: no return statement in function returning non-void [-Wreturn-type]
>
> Reported-by: wfg@xxxxxxxxxxxxxxx
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
> ---
>  include/linux/dma-buf.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h
> index d8c2865..506bb7b 100644
> --- a/include/linux/dma-buf.h
> +++ b/include/linux/dma-buf.h
> @@ -257,6 +257,7 @@ static inline void dma_buf_kunmap(struct dma_buf *dmabuf,
>
>  static inline void *dma_buf_vmap(struct dma_buf *dmabuf)
>  {
> +       return NULL;
>  }
I fixed this as part of rebasing while applying your vmap patch to my
for-next - so it is already in my pull request.

Best regards,
~Sumit.
>
>  static inline void dma_buf_vunmap(struct dma_buf *dmabuf, void *vaddr)
> --
> 1.7.6
>
>
> _______________________________________________
> Linaro-mm-sig mailing list
> Linaro-mm-sig@xxxxxxxxxxxxxxxx
> http://lists.linaro.org/mailman/listinfo/linaro-mm-sig
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux