fs: fat: Fix cache align error message in fatwrite
Use of malloc of do_fat_write() causes cache error on ARM v7 platforms. Perhaps, the same problem will occur at any other CPUs. This replaces malloc with memalign to fix cache buffer alignment. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: NYoshiyuki Ito <yoshiyuki.ito.ub@renesas.com> Tested-by: NHector Palacios <hector.palacios@digi.com>
Showing
想要评论请 注册 或 登录