On Sat, 5 Oct 2013, Deng-Cheng Zhu wrote: > From: Deng-Cheng Zhu <dengcheng.zhu@xxxxxxxxxx> > > In addition to the error statuses -ETIMEDOUT and -EPIPE, uhci_hub_control() > needs to return the length of copied buffer when appropriate, so that the > returned status of ->hub_control() in rh_call_control() in the USB core > HCD can be properly handled. > > This patch also removes the OK() macro to make the code more readable. > > Reviewed-by: James Hogan <james.hogan@xxxxxxxxxx> > Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@xxxxxxxxxx> > --- > CHANGES: > v2 - v1: > o Do the bugfix in uhci_hub_control() in addition to the OK macro removal. Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- 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