Re: [U-Boot] [PATCH] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-12 Thread Lukasz Majewski
Hi Seung-Woo, > 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 > unsigne

Re: [U-Boot] [PATCH] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-04 Thread Seung-Woo Kim
Hello, On 2018년 06월 05일 06:58, Tom Rini wrote: > On Mon, Jun 04, 2018 at 08:45:54PM +0900, Seung-Woo Kim wrote: > >> 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. I

Re: [U-Boot] [PATCH] fs: fat: fix wrong casting to unsigned value of sect_to_cluster()

2018-06-04 Thread Tom Rini
On Mon, Jun 04, 2018 at 08:45:54PM +0900, Seung-Woo Kim wrote: > 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