[U-Boot] disk: Fixed capacity message
Tom Rini
trini at konsulko.com
Thu Dec 29 23:39:37 CET 2016
On Fri, Dec 23, 2016 at 10:45:43AM +0100, Jean-Jacques Hiblot wrote:
> With capacities getting bigger, we can see see messages with negative
> numbers like "Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)".
> Here the printed LBA is -387938128 when it should have been 3907029168.
> To fix this, use the right format when displaying the unsigned integers.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Reported-by: Yan Liu <yan-liu at ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161229/261e4f10/attachment.sig>
More information about the U-Boot
mailing list