diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-10-01 02:25:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-08 16:19:56 -0400 |
commit | 09fa964bba80c45432660f0e64362181900a5aef (patch) | |
tree | ba58a46efcc9c227cfa0cb6c683841bee54ce9ef /scripts/Makefile.extrawarn | |
parent | 99e46dfc6a9176f6f0680c9dfdf33c97d56336ce (diff) |
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")
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts/Makefile.extrawarn')
0 files changed, 0 insertions, 0 deletions