7274b7638a
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:
|
||
---|---|---|
.. | ||
fat_write.c | ||
fat.c | ||
Kconfig | ||
Makefile |