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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux