walnux/fs/fat
Ari Kimari 0ded247f44 fs/fat: Fix wrong alloc used in fat_zero_cluster()
Fat_zero_cluster() use fs_heap_malloc() for buffer that
is used to call fat_hwread().
Fat_hwread() must be called with IO buffer that have proper
alingment because it might use DMA.

Fix changes fs_heap_malloc() to fat_io_alloc() which uses
correct fat_dma_alloc() if CONFIG_FAT_DMAMEMORY is defined.

Signed-off-by: Ari Kimari <ari.kimari@tii.ae>
2025-08-29 19:18:32 +02:00
..
CMakeLists.txt fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_fat32.c fs/fat: Fix wrong alloc used in fat_zero_cluster() 2025-08-29 19:18:32 +02:00
fs_fat32.h fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_fat32attrib.c fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00
fs_fat32dirent.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
fs_fat32util.c fs/fat/fs_fat32util.c: fix potential exception due to dividing zero during mounting when fat is corrupted 2024-12-13 11:22:54 +08:00
Kconfig Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
Make.defs fs: migrate to SPDX identifier 2024-11-06 01:58:54 +08:00