On Wed, Jan 08, 2014 at 08:15:33AM +0800, Ma Haijun wrote: > Curently, we are using 32 bit multiplication to calculate the offset, > so the result will always be 32 bit. > This can silently cause file system corruption when performing a write > operation on partition larger than 4 GiB. > > This patch address the issue by simply promoting the terms to 64 bit, > and let compilers decide how to do the multiplication efficiently. > > Signed-off-by: Ma Haijun <mahaij...@gmail.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot