Re: [U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
On Fri, Sep 22, 2017 at 09:02:09AM -0400, Tom Rini wrote: > We have limited stack in SPL builds. Drop itrblock and move to > malloc/free of itr to move this off of the stack. As part of this fix a > double-free issue in fat_size(). > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

[U-Boot] [PATCHv2] fs/fat: Reduce stack usage

2017-09-22 Thread Tom Rini
We have limited stack in SPL builds. Drop itrblock and move to malloc/free of itr to move this off of the stack. As part of this fix a double-free issue in fat_size(). Signed-off-by: Tom Rini --- Rework to use malloc/free as moving this to a global overflows some SH targets. fs/fat/fat.c | 14