]> git.sur5r.net Git - u-boot/commit
fastboot: sparse: fix sparse blocks calculation
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 3 Feb 2016 10:13:55 +0000 (18:13 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 11 Apr 2016 16:44:37 +0000 (12:44 -0400)
commitd3bafe32ca47bc3872837c1fe7874f9913de103f
tree8059323b5600e2de6dbadab15f5cef82c5c58318
parent9dbdc6ebd4db60effebefcf8d541cf598712e3b7
fastboot: sparse: fix sparse blocks calculation

It may overflow in sparse_block_size_to_storage, use uint64_t instead in
the calculation.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
common/image-sparse.c