Messages in this thread | | | From | Hayes Wang <> | Subject | RE: [PATCH net-next 1/2] r8152: split rtl8152_resume function | Date | Tue, 13 Jun 2017 02:27:20 +0000 |
| |
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
| |