RE: [PATCH net-next 1/2] r8152: split rtl8152_resume function

From: Hayes Wang
Date: Mon Jun 12 2017 - 22:27:56 EST


Oliver Neukum [mailto:oneukum@xxxxxxxx]
> 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