On Mon, Feb 25, 2019 at 07:42:48PM +0100, Heinrich Schuchardt wrote:

> When compiling with DEBUG=1 an error
> fs/fat/fat_write.c:831: undefined reference to `__aeabi_ldivmod'
> occurred.
> 
> We should use do_div() instead of the modulus operator.
> 
> filesize and cur_pos cannot be negative. So let's use u64 to avoid
> warnings.
> 
> Fixes: cb8af8af5ba0 ("fs: fat: support write with non-zero offset")
> Signed-off-by: Heinrich Schuchardt <[email protected]>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to