aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-06-04 20:45:54 +0900
committerTom Rini <trini@konsulko.com>2018-06-13 07:49:11 -0400
commit6e2151c729674aecabf5ec5a96dac97433632009 (patch)
tree01303bce839ef3000f591bbd301ad4f7c41cbba0 /fs
parent920be88e92001fee13d876a6c4aa245cc658800f (diff)
downloadu-boot-6e2151c729674aecabf5ec5a96dac97433632009.zip
u-boot-6e2151c729674aecabf5ec5a96dac97433632009.tar.gz
u-boot-6e2151c729674aecabf5ec5a96dac97433632009.tar.bz2
fs: fat: fix wrong casting to unsigned value of sect_to_cluster()
After the commit 265edc03d5a1 ("fs/fat: Clean up open-coded sector <-> cluster conversions"), it is hung up writing new file to FAT16 disk with more than 19 files in armv7. It is because result value of sect_to_cluster() is not proper by casting from signed value to unsigned value. Fix the wrong casting of sect_to_cluster(). Reported-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions