Searched hist:"86597 fe0526efb9153a6b7d0def26dbe21545981" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/fs/fat/ |
| H A D | fat.c | 86597fe0526efb9153a6b7d0def26dbe21545981 Sat Sep 30 23:25:21 UTC 2017 Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> UPSTREAM: fs/fat: Fix 'CACHE: Misaligned operation at range' warnings
The 'block' field of fat_itr needs to be properly aligned for DMA and while it does have '__aligned(ARCH_DMA_MINALIGN)', the fat_itr structure itself needs to be properly aligned as well.
While at it use malloc_cache_aligned() for the other aligned allocations in the file as well.
Fixes: 2460098cffacd1 ("fs/fat: Reduce stack usage") Change-Id: I0b7bfe73d00435d8ec3dcd7f52a10deca07a704e Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 09fa964bba80c45432660f0e64362181900a5aef)
|