[U-Boot] [PATCH v2 8/8] USB-CDC: change simple_strtol to simple_strtoul

Remy Bohmer linux at bohmer.net
Fri Aug 13 22:12:08 CEST 2010


Hi,

2010/8/13 Vitaly Kuzmichev <vkuzmichev at mvista.com>:
> The patch is based on commit bb9496c6f7e853e5d4edd5397c9d45f1968d623c
> (done by Julia Lawall <julia at diku.dk>) from linux-2.6.git.
>
> Since num is unsigned, it would seem better to use simple_strtoul that
> simple_strtol.
>
> Signed-off-by: Vitaly Kuzmichev <vkuzmichev at mvista.com>
> ---
>  drivers/usb/gadget/epautoconf.c |    2 +-

Applied to u-boot-usb/cdc branch.
Thanks.

Remy


More information about the U-Boot mailing list