Re: [PATCH] media: uvcvideo: fix GFP_ flags in uvc_submit_urb()

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

 



On Fri, Mar 19, 2021 at 03:57:44PM +0100, Ricardo Ribalda Delgado wrote:
> Hi Dan
> 
> On Fri, Mar 19, 2021 at 3:48 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> >
> > The uvc_submit_urb() function is supposed to use the passed in GFP_
> > flags but this code accidentally uses GFP_KERNEL instead.  Some of
> > the callers are passing GFP_ATOMIC so presumably this can lead to
> > sleeping in atomic context.
> >
> > Fixes: b20f917f84e6 ("media: uvcvideo: Use dma_alloc_noncontiguous API")
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> I reported the same issue just some minutes ago. Christoph has already
> fixed the patch in his tree.
> 
> Where did you get the patchset? from next? from linus? or directly
> from Chirstoph tree?

>From linux-next.  I'm not sure if it was from yesterday's linux-next or
from a couple days ago.

regards,
dan carpenter




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux