diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-25 19:42:48 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-28 14:21:46 -0500 |
commit | 7274b7638a3ed03f64faff185253b2bccf557877 (patch) | |
tree | 75fc1f51d754e56efd315d66674c2b063cb60050 /dts/Makefile | |
parent | a319229fdaced1aa74f8d7a0ffa1194f352a5a38 (diff) | |
download | u-boot-7274b7638a3ed03f64faff185253b2bccf557877.tar.gz |
fs: fat: fix link error when building with DEBUG=1
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'dts/Makefile')
0 files changed, 0 insertions, 0 deletions