Re: [PATCH v3] usb: hub: Fix error loop seen after hub communication errors
From: Doug Anderson
Date: Mon Mar 20 2017 - 14:11:44 EST
Hi,
On Thu, Mar 16, 2017 at 12:24 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> @@ -1198,7 +1201,7 @@ static void hub_activate(struct usb_hub *hub, enum hub_activation_type type)
>
> /* Scan all ports that need attention */
> kick_hub_wq(hub);
> -
> +abort:
One tiny nit that could be done when applying this patch is to add a
space before "abort". Other goto labels in this function are preceded
by a space and it's sane to try to match the existing coding
convention in the function rather than trying to mix and match.
Other than that this patch seems sane to me, but I am by no means an
expert on this code. ;)
-Doug