On Fri, May 31, 2013 at 02:18:06PM +0800, Lan Tianyu wrote:
> This patch is to add a check of "portnum" which from the usb
> port dev's name.

Why do we need this now?

> The "portnum" will be used as array index
> for struct usb_hub->ports in the usb_set_hub_port_connect_type().

Is something failing today without this check?  We don't add code to the
kernel until we need it...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to