[U-Boot] [PATCH 07/20] usb: hub: Revise wLength for 'get port status' request

Simon Glass sjg at chromium.org
Sat Jun 17 03:43:58 UTC 2017


On 16 June 2017 at 07:31, Bin Meng <bmeng.cn at gmail.com> wrote:
> For accuracy, we should use 'sizeof(struct usb_port_status)' as the
> wLength for 'get port status' request, although it happens to be
> equal to 'sizeof(struct usb_hub_status)'.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  common/usb_hub.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list