lkml.org 
[lkml]   [2017]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH net-next 1/2] r8152: split rtl8152_resume function
    Date
    Oliver Neukum [mailto:oneukum@suse.com]
    > Sent: Monday, June 12, 2017 8:33 PM
    [...]
    > > +               usb_submit_urb(tp->intr_urb, GFP_KERNEL);
    >
    > If you ever built a device with included storage, this can deadlock,
    > as you may want to wake up a device for memory that is needed to wake
    > up a device. Use GFP_NOIO in resume() and reset_resume(), always.

    I would change it. Thanks.

    Best Regards,
    Hayes

    \
     
     \ /
      Last update: 2017-06-13 04:28    [W:3.153 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site