Re: [PATCH] media: vb2-memops: Export vb2_get_vma symbol

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

 



Hi Tomasz,

On Monday 23 January 2012 15:44:25 Tomasz Stanislawski wrote:
> Hi Laurent,
> 
> Thank you for finding a bug in vb2-core.

You're welcome.

Could you please take the patch in your tree ?

> On 01/23/2012 03:35 PM, Laurent Pinchart wrote:
> > The vb2_get_vma() function is called by videobuf2-dma-contig. Export it.
> > 
> > Signed-off-by: Laurent Pinchart<laurent.pinchart@xxxxxxxxxxxxxxxx>
> > ---
> > 
> >   drivers/media/video/videobuf2-memops.c |    1 +
> >   1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > Hi Thomas,
> > 
> > The following patch is needed to compile videobuf2-dma-contig as a module.
> > 
> > diff --git a/drivers/media/video/videobuf2-memops.c
> > b/drivers/media/video/videobuf2-memops.c index 71a7a78..718f70e 100644
> > --- a/drivers/media/video/videobuf2-memops.c
> > +++ b/drivers/media/video/videobuf2-memops.c
> > @@ -55,6 +55,7 @@ struct vm_area_struct *vb2_get_vma(struct vm_area_struct
> > *vma)> 
> >   	return vma_copy;
> >   
> >   }
> > 
> > +EXPORT_SYMBOL_GPL(vb2_get_vma);
> > 
> >   /**
> >   
> >    * vb2_put_userptr() - release a userspace virtual memory area

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux