On Thu, Oct 11, 2012 at 5:05 PM, Oliver Neukum <oneukum@xxxxxxx> wrote: > That depends on whether an API change would be necessary. > Changing the code only when necessary is no problem. But the > API I want to do right from the beginning if that is possible. For the auto-resume situation, the current API is OK even without changes to task_struct. > > This depends on whether you get in your extension to task_struct. > If you do, we can certainly use it also for the suspend case. I will do it. > >> For error handling case, it is inevitably for usbnet to allocate memory >> with GFP_KERNEL because no usbnet drivers have implemented >> .pre_reset and .post_reset callback, and no such actual problems >> have been reported until now, so it should be OK to not consider the >> case now. >> >> So could we merge the patch set[1-11] first? > > Given the solution for error handling you came up with, yes, we can. > Would you resubmit? OK, will do it. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html