Re: [RFC Patch] USB: Add check for portnum in the usb_acpi_find_device()

2013-06-02 Thread Lan Tianyu
On 2013/5/31 19:18 Greg KH wrote the following: 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_se

Re: [RFC Patch] USB: Add check for portnum in the usb_acpi_find_device()

2013-05-31 Thread Greg KH
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 fail