[U-Boot] [PATCH v4 1/7] vsprintf:fix: Change type returned by ustrtoul

Stephen Warren swarren at wwwdotorg.org
Mon Nov 19 20:19:36 CET 2012


On 11/09/2012 02:22 AM, Piotr Wilczek wrote:
> From: Lukasz Majewski <l.majewski at samsung.com>
> 
> The ustrtoul shall convert string defined size (e.g. 1GiB) to unsigned
> long type (as its name implies).
> 
> Up till now it had returned int, which might cause problems with large
> numbers (GiB range), when interpreted as U2 signed numbers.

Reviewed-by: Stephen Warren <swarren at nvidia.com>



More information about the U-Boot mailing list