Re: [PATCH] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-22 Thread Hans Verkuil
On 08/22/2014 07:34 PM, Jan Kara wrote: > On Fri 22-08-14 18:01:09, Hans Verkuil wrote: >> Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep >> warning) >> unfortunately removed the mmap_sem lock that is needed around the call to >> __qbuf_userptr. Amazingly nobody noticed th

Re: [PATCH] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-22 Thread Jan Kara
On Fri 22-08-14 18:01:09, Hans Verkuil wrote: > Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep > warning) > unfortunately removed the mmap_sem lock that is needed around the call to > __qbuf_userptr. Amazingly nobody noticed this until Jan Kara pointed this out > to me. >

Re: [PATCH] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-22 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Friday 22 August 2014 18:01:09 Hans Verkuil wrote: > Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep > warning) unfortunately removed the mmap_sem lock that is needed around the > call to __qbuf_userptr. Amazingly nobody noticed this un

[PATCH] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-22 Thread Hans Verkuil
Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep warning) unfortunately removed the mmap_sem lock that is needed around the call to __qbuf_userptr. Amazingly nobody noticed this until Jan Kara pointed this out to me. Signed-off-by: Hans Verkuil Reported-by: Jan Kara --- d